{"name":"boundingBox","title":"boundingBox","type":"command","url":"https://community.bistudio.com/wiki/boundingBox","revid":377835,"updated":"2026-01-03T04:32:05Z","groups":["Object Manipulation"],"status":"ok","games":{"arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma1 1.00","arma3_since":"0.50","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.\n\n> [!NOTE]\n> In Arma 3 v1.92 The output of both syntaxes got extended to include bounding sphere diameter. See also sizeOf.","syntaxes":[{"syntax":"boundingBox object","params":[{"name":"object","type":"Object","type_expr":"Object"}],"returns":{"type":"PositionRelative","type_expr":"PositionRelative","description":"an array with the extreme points of the model, as well as bounding box sphere diameter. Format [[xmin, ymin, zmin], [xmax, ymax, zmax], boundingSphereDiameter].","text":"PositionRelative - an array with the extreme points of the model, as well as bounding box sphere diameter.\nFormat [[xmin, ymin, zmin], [xmax, ymax, zmax], boundingSphereDiameter]."},"form":"unary","right":{"text":"object"}},{"syntax":"clippingType boundingBox object","since":"arma3 1.92","params":[{"name":"clippingType","type":"Number","description":"clipping type could be:\n\n- 0 - ClipVisual (could significantly reduce the size of bounding boxes on buildings)\n- 1 - ClipShadow\n- 2 - ClipGeometry\n- 3 - ClipGeneral (Default, the same type that is used in main syntax)","type_expr":"Number"},{"name":"object","type":"Object","type_expr":"Object"}],"returns":{"type":"PositionRelative","type_expr":"PositionRelative","description":"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].","text":"PositionRelative - an array with the extreme points of the model bounding box, as well as bounding box sphere diameter.\nFormat [[xmin, ymin, zmin], [xmax, ymax, zmax], boundingSphereDiameter]."},"form":"binary","left":{"text":"clippingType"},"right":{"text":"object"}}],"examples":[{"code":["private _box = boundingBox _abrams;"]},{"code":["hint str (0 boundingBox cursorObject);"]}],"see_also":["sizeOf","boundingBoxReal","boundingCenter","BIS_fnc_boundingBoxDimensions"]}