Stopping Humanoid from :MoveTo()?

Hello devs! I am working on chasing AI and need to know if there is a way to stop humanoid from Moving.

Thanks for respond!

you can just try to anchor the humanoidrootpart?

What if NPC got in air? I want to STOP npc from Moving so another :MoveTo() can run.

then maybe put this line of code to stop

Humanoid:Move(Vector3.new(0,0,0))
1 Like

It’s not Humanoid:Move() but its Humanoid:MoveTo() but ok.

nono i didnt mean that
so first you use moveto function and use move function after that so that it stops the move to?

If you want to stop them using a MoveTo, just move them to their current HumanoidRootPart Position

Humanoid:MoveTo(HumanoidRootPart.Position)
4 Likes