# Sandbox.HitboxSetBuilder.AddBox

```csharp
ModelHitboxBuilder AddBox(string name, string boneName, BBox bounds)
```

Adds a box hitbox in bone-local space.

### Parameters

- `name` (`string`): The hitbox name.
- `boneName` (`string`): The bone the hitbox follows.
- `bounds` (`BBox`): The box bounds relative to the bone.

### Returns

`ModelHitboxBuilder`: A builder for the new hitbox.

Declared in [Sandbox.HitboxSetBuilder](/api/Sandbox.HitboxSetBuilder).
Assembly: `Sandbox.Engine`.
