nanos world API Reference Unofficial documentation
Function Network authority Fast

Pawn:StopMovement

AI: Stops the movement, optionally zeroing the velocity as well (stops even for non AI)<br/><br/>Triggers event <a href='pawn#event-movecomplete'>MoveComplete</a>

Syntax

Lua
my_pawn:StopMovement(stops_velocity = false)

Parameters

Name Type Default Description
stops_velocity optional boolean false Also stops the Pawn's current velocity