Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


isStopped

Use this property to set, or get, whether the NavMesh agent stops or continues its movement along the current path.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public bool isStopped { get; set; }

Remarks

If set to True, the NavMesh agent's movement stops along its current path. If set to False after the NavMesh agent has stopped, the NavMesh agent resumes its movement along the current path.