# Sandbox.SliderJointBuilder.WithTargetPosition

```csharp
SliderJointBuilder WithTargetPosition(float position)
```

Sets and enables the target-position spring motor.

### Parameters

- `position` (`float`)

### Returns

`SliderJointBuilder`

Declared in [Sandbox.SliderJointBuilder](/api/Sandbox.SliderJointBuilder).
Assembly: `Sandbox.Engine`.
