{"name":"BIS_fnc_position","title":"BIS fnc position","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_position","revid":379277,"updated":"2026-10-30T23:45:07Z","groups":["Positions"],"status":"ok","games":{"tkoh":"1.00","arma3":"0.50"},"since":"tkoh 1.00","arma3_since":"0.50","description":"Returns PositionAGL, unless passed argument is Array, then the same array is returned. When position is Object and alternative position is stored in `\"BIS_fnc_position_forced\"` variable on this object, the stored position is used rather than actual object position. This function is a pretty safe way to get the position of an entity.","syntaxes":[{"syntax":"argument call BIS_fnc_position","params":[{"name":"argument","type":"Array, Object, Group, Location or String","description":"Array, Object, Group, Location or String\n\n- Array - Position in format `[x, y]` or `[x, y ,z]`\n- Object - Object\n- Group - Group, group leader position is used\n- Location - Location\n- String - Marker or variable name containing object\n\n> [!NOTE]\n> To get the position of an Eden Entity use `_entity get3DENAttribute \"Position\" select 0;`.","type_expr":"Array | Object | Group | Location | String","text":"argument: Array, Object, Group, Location or String\n\n- Array - Position in format `[x, y]` or `[x, y ,z]`\n- Object - Object\n- Group - Group, group leader position is used\n- Location - Location\n- String - Marker or variable name containing object\n\n> [!NOTE]\n> To get the position of an Eden Entity use `_entity get3DENAttribute \"Position\" select 0;`."}],"returns":{"type":"Array","type_expr":"Array","description":"position in format `[x, y]` or `[x, y ,z]`"}}],"examples":[{"code":["private _pos = player call BIS_fnc_position;"]}],"see_also":["Position"]}