Detect when Humanoid:MoveTo() is cancelled

Is there a way to detect when Humanoid:MoveTo() is cancelled, e.g when a player walks again, because I currently have a problem when using .MoveToFinished:Wait() and it will wait infinitely if the player cancels it. (Sorry for bad explanation)

Are you trying to move a Humanoid rig? If so, take a look at my SimplePath module. You can easily move the Rig and the module also has an event that fires when the Humanoid reaches their final position.

Hmm, I’ll take a look. Thanks.

If you are trying to detect if a player stopped moving then check their Humanoid.MoveDirection which will be 0,0,0 if not moving.