How do I know if the move is over

How do I know if the Move/Follow is over when use MoveTo/Follow of CoreObject, I suggest adding a parameter called callback in function MoveTo to indicate the end of the movement, in addition, adding a parameter called faceToDist to indicate the orientation of the moving object