# max

> Maximum distance the Rigidbody2D object can move from the Slider Joint's anchor.

## Definition

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

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

### Remarks

Additional Resources: [Rigidbody2D](/engine/6000.6/script-reference/unityengine/rigidbody2d.md) class, [AnchoredJoint2D.connectedAnchor](/engine/6000.6/script-reference/unityengine/anchoredjoint2d/connectedanchor.md).
