NavMeshAgent.Stop
Stop(stopUpdates: bool = false): void;
void Stop(bool stopUpdates = false);
def Stop(stopUpdates as bool = false) as void
Parameters

stopUpdates If true, the GameObject is stopped immediately and not affected by the avoidance system. If false, the NavMeshAgent controls the deceleration.
Description

Stop movement of this agent along its current path.