ctrlMapPosition

From Bohemia Interactive Community
Revision as of 23:10, 8 October 2021 by Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.08 |branch= dev |gr1= GUI Control - Map |descr= Returns map position in format [x, y, w, h]. If map is inside a Controls group,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.08.

Description

Description:
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.
Groups:
GUI Control - Map

Syntax

Syntax:
ctrlMapPosition map
Parameters:
map: Control - Map control
Return Value:
Array - [x, y, w, h]

Examples

Example 1:
ctrlMapPosition _map;

Additional Information

See also:
ctrlMapSetPositionctrlCreate

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note