# distance

> The maximum distance the capsule cast checks for collision.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.PhysicsModule

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