Arma 3 Scripting

Command in GUI Control - Map

ctrlMapPosition

Also available as Markdown and JSON, or read the original wiki page.

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.

Syntax

ctrlMapPosition map

Parameters:

Returns: Array with [x, y, w, h]

Examples

Example 1

ctrlMapPosition _map;

See also

ctrlMapSetPosition · ctrlCreate