{"name":"ctrlMapPosition","title":"ctrlMapPosition","type":"command","url":"https://community.bistudio.com/wiki/ctrlMapPosition","revid":377802,"updated":"2026-01-03T04:03:42Z","groups":["GUI Control - Map"],"status":"ok","games":{"arma3":"2.08"},"since":"arma3 2.08","arma3_since":"2.08","description":"A getter for ctrlMapSetPosition. Returns map position in format [x, y, w, h]. If map is inside a Controls Group, the x and y position is relative to the Controls Group top left corner.","syntaxes":[{"syntax":"ctrlMapPosition map","params":[{"name":"map","type":"Control","description":"Map control","type_expr":"Control"}],"returns":{"type":"Array","type_expr":"Array","description":"with [x, y, w, h]\n- x: Number - position in x - y: Number - position in y - w: Number - width of the map control - h: Number - height of the map control","text":"Array with [x, y, w, h]\n\n- x: Number - position in x\n- y: Number - position in y\n- w: Number - width of the map control\n- h: Number - height of the map control"},"form":"unary","right":{"text":"map"}}],"examples":[{"code":["ctrlMapPosition _map;"]}],"see_also":["ctrlMapSetPosition","ctrlCreate"]}