Arma 3 Scripting

Command in GUI Control

ctrlAt

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

Description

Returns the control at the specified coordinates.

Syntax

display ctrlAt [x, y]

Parameters:

Returns: Control - the control at the specified coordinates, controlNull if none

Examples

Example 1

private _ctrl = _myDisplay ctrlAt [0.5, 0.5];

See also

ctrlCreate · ctrlSetPosition · ctrlCommit