# Sandbox.PhysicsJointBuilderExtensions.WithBody1

```csharp
static T WithBody1(T b, int v)
```

Sets the first connected body.

### Parameters

- `b` (`T`): The joint builder.
- `v` (`int`): The body index.

### Returns

`T`: The joint builder.

Declared in [Sandbox.PhysicsJointBuilderExtensions](/api/Sandbox.PhysicsJointBuilderExtensions).
Assembly: `Sandbox.Engine`.
