Arma 3 Scripting

ctrlAt

  • Arma 3 v2.12

Command · Markdown · JSON · 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