Garry's Mod Wiki

NPC:StopMoving

  NPC:StopMoving( boolean immediate = true )

Description

Resets the NPC's movement animation and velocity. Does not actually stop the NPC from moving.

Arguments

1 boolean immediate = true
Whether to stop moving even when currently active goal doesn't want us to.
This was recently added in version (2024.05.13). It might only be available on the Dev Branch right now.