# distance

> The desired distance constraint i.e. the rest length of this joint. This has a lower stable limit of just above zero.

## Definition

* **Type:** Property
* **Namespace:** [Unity.U2D.Physics](/engine/6000.6/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

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