ctrlAt

From Bohemia Interactive Community
Revision as of 15:37, 28 February 2023 by Cat Harsis (talk | contribs) (2.12 released, no longer only dev branch)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Description
Groups:
GUI Control

Syntax

Syntax:
display ctrlAt [x, y]
Parameters:
display: Display - the display to check
x: Number - position (0 = left, 1 = right)
y: Number - position (0 = top, 1 = bottom)
Return Value:
Control - the control at the specified coordinates, controlNull if none

Examples

Example 1:
private _ctrl = _myDisplay ctrlAt [0.5, 0.5];

Additional Information

See also:
ctrlCreate ctrlSetPosition ctrlCommit

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