---
name: "BIS_fnc_drawBoundingBox"
type: function
status: ok
groups: ["Object Manipulation"]
arma3_since: "1.98"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_drawBoundingBox
revid: 376923
updated: 2025-12-29T12:16:33Z
---

# BIS_fnc_drawBoundingBox

*Function · Object Manipulation · Arma 3 v1.98*

## Description

Draws bounding box around given objects.

## Syntax

```sqf
[objects, color, draw] call BIS_fnc_drawBoundingBox
```

**Parameters:**

- `objects`: [Array](../topics/Array.md) of [Object](../topics/Object.md)s - (Optional, default `[objNull]`)
- `color`: [Array](../topics/Array.md) in format [Color (RGBA)](../topics/Color.md) - (Optional, default [1,0,1,1])
- `draw`: [Boolean](../topics/Boolean.md) - (Optional, default nil) [true](../commands/true.md) to draw, [false](../commands/false.md) to remove

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md) if successful, [false](../commands/false.md) if not

## Examples

### Example 1

```sqf
[[BIS_building], [1,0,1,1], true] call BIS_fnc_drawBoundingBox;
```

### Example 2

```sqf
[[], [], false] call BIS_fnc_drawBoundingBox;
```

## See also

[boundingBoxReal](../commands/boundingBoxReal.md) · [boundingBox](../commands/boundingBox.md)

<sub>Source: [BI Community Wiki — BIS fnc drawBoundingBox](https://community.bistudio.com/wiki/BIS_fnc_drawBoundingBox) (revision 376923).</sub>
