ctrlAt: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page creation) |
Lou Montana (talk | contribs) (Fix description) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.12 | |version1= 2.12 | ||
|gr1= GUI Control | |gr1= GUI Control | ||
|descr= | |descr= Returns the control at the specified coordinates. | ||
|s1= display [[ctrlAt]] [x, y] | |s1= display [[ctrlAt]] [x, y] | ||
Line 14: | Line 12: | ||
|p1= display: [[Display]] - the display to check | |p1= display: [[Display]] - the display to check | ||
|p2= x: [[Number]] - | |p2= x: [[Number]] - position (0 = left, 1 = right) | ||
|p3= y: [[Number]] - | |p3= y: [[Number]] - position (0 = top, 1 = bottom) | ||
|r1= [[Control]] - the control at the specified coordinates, [[controlNull]] if none | |r1= [[Control]] - the control at the specified coordinates, [[controlNull]] if none |
Latest revision as of 01:25, 1 March 2023
Description
- Description:
- Returns the control at the specified coordinates.
- 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:
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