# Sandbox.SliderJointBuilder.WithLimit

```csharp
SliderJointBuilder WithLimit(float min, float max)
```

Sets and enables the translation limits.

### Parameters

- `min` (`float`): The minimum translation along the joint axis.
- `max` (`float`): The maximum translation along the joint axis.

### Returns

`SliderJointBuilder`

Declared in [Sandbox.SliderJointBuilder](/api/Sandbox.SliderJointBuilder).
Assembly: `Sandbox.Engine`.
