---
name: "boundingBox"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/boundingBox
revid: 377835
updated: 2026-01-03T04:32:05Z
---

# boundingBox

*Command · Object Manipulation · Arma 3 v0.50 · introduced in Armed Assault v1.00*

## Description

Returns a bounding box of given object in model coordinate space, adjusted according to destruction/animation of an object. This command is rather generous on the size estimation, for more precise coordinates use [boundingBoxReal](../commands/boundingBoxReal.md).

> [!NOTE]
> In Arma 3 v1.92 The output of both syntaxes got extended to include bounding sphere diameter. See also [sizeOf](../commands/sizeOf.md).

## Syntax

### Syntax 1

```sqf
boundingBox object
```

**Parameters:**

- `object`: [Object](../topics/Object.md)

**Returns:** [PositionRelative](../topics/Position.md#positionrelative) - an array with the extreme points of the model, as well as bounding box sphere diameter.
Format [[xmin, ymin, zmin], [xmax, ymax, zmax], boundingSphereDiameter].

### Syntax 2

*since arma3 1.92*

```sqf
clippingType boundingBox object
```

**Parameters:**

- `clippingType`: [Number](../topics/Number.md) - clipping type could be:
  - 0 - ClipVisual (could significantly reduce the size of bounding boxes on buildings)
  - 1 - ClipShadow
  - 2 - ClipGeometry
  - 3 - ClipGeneral (Default, the same type that is used in main syntax)
- `object`: [Object](../topics/Object.md)

**Returns:** [PositionRelative](../topics/Position.md#positionrelative) - an array with the extreme points of the model bounding box, as well as bounding box sphere diameter.
Format [[xmin, ymin, zmin], [xmax, ymax, zmax], boundingSphereDiameter].

## Examples

### Example 1

```sqf
private _box = boundingBox _abrams;
```

### Example 2

```sqf
hint str (0 boundingBox cursorObject);
```

## See also

[sizeOf](../commands/sizeOf.md) · [boundingBoxReal](../commands/boundingBoxReal.md) · [boundingCenter](../commands/boundingCenter.md) · [BIS_fnc_boundingBoxDimensions](../functions/BIS_fnc_boundingBoxDimensions.md)

<sub>Source: [BI Community Wiki — boundingBox](https://community.bistudio.com/wiki/boundingBox) (revision 377835).</sub>
