{"name":"BIS_fnc_getArea","operator":null,"title":"BIS fnc getArea","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_getArea","revid":376280,"updated":"2025-09-24T15:31:26Z","groups":["Geometry","Map and Markers"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.58"}],"since":{"game":"arma3","name":"Arma 3","version":"1.58"},"arma3_since":"1.58","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Extracts area information from trigger, marker, location or array","syntaxes":[{"syntax":"param call BIS_fnc_getArea","since":null,"effect":null,"exec":null,"params":[{"name":"param","type":null,"optional":false,"default":null,"description":"- Object - trigger\n- String - marker\n- Location - location\n- Array - array in format [center, distance] or [center, [a, b, angle, rect]] or [center, [a, b, angle, rect, height]]","types":[],"since":null,"text":"param:\n- Object - trigger\n- String - marker\n- Location - location\n- Array - array in format [center, distance] or [center, [a, b, angle, rect]] or [center, [a, b, angle, rect, height]]"}],"returns":{"type":"Array","types":["Array"],"description":"in format [center, a, b, angle, isRectangle, height]","text":"Array - in format [center, a, b, angle, isRectangle, height]"}}],"examples":[{"text":"```sqf\nprivate _area = [player, 100] call BIS_fnc_getArea;\n```","code":["private _area = [player, 100] call BIS_fnc_getArea;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["createTrigger","createMarker","setTriggerArea","setMarkerSize","triggerArea","markerSize","inArea","inAreaArray","BIS_fnc_inTrigger"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Geometry","Function Group: Map and Markers","Functions","Introduced with Arma 3 version 1.58"],"docblock":null,"filled_from_docblock":[]}