{"name":"getPosATL","operator":null,"title":"getPosATL","type":"command","url":"https://community.bistudio.com/wiki/getPosATL","revid":377531,"updated":"2026-01-02T06:53:14Z","groups":["Positions"],"status":"ok","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.03"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.03"},"arma3_since":"0.50","branch":null,"locality":{"argument":"global","effect":null,"server_exec":false},"exec":null,"description":"Returns the position of an object relative to the terrain.","syntaxes":[{"syntax":"getPosATL object","since":null,"effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"object: Object"}],"returns":{"type":"PositionATL","types":["PositionATL"],"description":null,"text":"PositionATL"},"form":"unary","operator":null,"left":null,"right":{"text":"object","types":["Object"]}}],"examples":[{"text":"```sqf\n_objPosition = getPosATL player;\n```","code":["_objPosition = getPosATL player;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["getPosATLVisual","setPosATL","position","getPos","getPosASL","getPosASLW","visiblePosition","visiblePositionASL"],"notes":[],"categories":["Arma 2: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Positions","Introduced with Arma 2 version 1.03","Scripting Commands","Take On Helicopters: Scripting Commands"]}