# isPathStale

> Is the current path stale. (Read Only)

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.AI](/engine/6000.6/script-reference/unityengine/ai.md)
* **Assembly:** UnityEngine.AIModule

```csharp
public bool isPathStale { get; }
```

### Remarks

When true, the path may no longer be valid or optimal. This flag will be set if: there are any changes to the [\_areaMask](/engine/6000.6/script-reference/unityengine/ai/navmeshagent/areamask.md), if any [OffMeshLink](/engine/6000.6/script-reference/unityengine/ai/offmeshlink.md) is enabled or disabled, or if the costs for the NavMeshAreas have been changed.
