# hasPath

> Does the agent currently have a path? (Read Only)

## Definition

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

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

### Remarks

This property will be true if the agent has a path calculated to the desired destination and false otherwise.
