# distance

> Distance to the point of hit.

## Definition

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

```csharp
public float distance { get; set; }
```

### Remarks

If the value is not finite, the entire NavMeshHit object represents the result of an invalid query.
