{"name":"aimPos","title":"aimPos","type":"command","url":"https://community.bistudio.com/wiki/aimPos","revid":378158,"updated":"2026-02-26T16:15:24Z","groups":["Positions"],"status":"ok","games":{"arma2oa":"1.62","tkoh":"1.00","arma3":"0.50"},"since":"arma2oa 1.62","arma3_since":"0.50","locality":{"argument":"global"},"description":"Returns the position of the object other units can aim to.","syntaxes":[{"syntax":"aimPos unit","params":[{"name":"unit","type":"Object","type_expr":"Object"}],"returns":{"type":"PositionASL","type_expr":"PositionASL"},"form":"unary","right":{"text":"unit"}}],"examples":[{"code":["_aimPos = aimPos player;"]},{"text":"***aimPosVisual*** equivalent:\n\n```sqf\nprivate _aimPosVisual = AGLToASL unitAimPositionVisual player;\n```","code":["private _aimPosVisual = AGLToASL unitAimPositionVisual player;"]}],"see_also":["eyePos","getPosASL","weaponDirection","unitAimPosition","unitAimPositionVisual"],"notes":[{"user":"Waffle SS.","date":"2015-07-07T21:19:00Z","text":"Generally returns the center position of the object (middle of the geometry, not the model's [0,0,0])."},{"user":"Sa-Matra","date":"2023-03-27T12:33:11Z","text":"This command uses \"zamerny\" memory point which is hardcoded name in the engine. If memory point is not present then geometry LOD bounding center is used (according to dedmen)"}]}