# limits

> Restrictions on how far the joint can slide in each direction along the line.

## Definition

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

```csharp
public JointTranslationLimits2D limits { get; set; }
```

### Remarks

The line along which the joint can slide is specified by its angle (relative to the coordinate system) and optionally by endpoint limits along its length.

Additional Resources: [SliderJoint2D.angle](/engine/6000.0/script-reference/unityengine/sliderjoint2d/angle.md).
