# Sandbox.BallJointBuilder.WithFriction

```csharp
BallJointBuilder WithFriction(float v)
```

Sets friction and disables the motor.

### Parameters

- `v` (`float`)

### Returns

`BallJointBuilder`

Declared in [Sandbox.BallJointBuilder](/api/Sandbox.BallJointBuilder).
Assembly: `Sandbox.Engine`.
