{"name":"unitAimPositionVisual","operator":null,"title":"unitAimPositionVisual","type":"command","url":"https://community.bistudio.com/wiki/unitAimPositionVisual","revid":377836,"updated":"2026-01-03T04:32:14Z","groups":["Object Manipulation","Render Time Scope"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.64"}],"since":{"game":"arma3","name":"Arma 3","version":"1.64"},"arma3_since":"1.64","branch":null,"locality":{"argument":"global","effect":null,"server_exec":false},"exec":null,"description":"Returns the position on the unit other units can aim at in render scope. See also aimPos, unitAimPosition.","syntaxes":[{"syntax":"unitAimPositionVisual unit","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"unit: Object"}],"returns":{"type":"PositionAGL","types":["PositionAGL"],"description":"position","text":"PositionAGL - position"},"form":"unary","operator":null,"left":null,"right":{"text":"unit","types":["Object"]}}],"examples":[{"text":"```sqf\nunitAimPositionVisual player;\n```","code":["unitAimPositionVisual player;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["unitAimPosition","aimPos","eyePos","getPosASL","weaponDirection"],"notes":[{"user":"Sa-Matra","date":"2023-04-30T11:44:58Z","text":"This command (along with unitAimPosition and aimPos) is unreliable when entity has objectParent, it can return its last position in the world in case of static weapon packed into backpack, or can return very outdated (lagging behind) position or even [0,0,0] on remote units inside vehicles. Be careful when using it!"}],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Manipulation","Command Group: Render Time Scope","Introduced with Arma 3 version 1.64","Scripting Commands"]}