{"name":"ctrlAt","title":"ctrlAt","type":"command","url":"https://community.bistudio.com/wiki/ctrlAt","revid":338355,"updated":"2023-03-01T00:25:09Z","groups":["GUI Control"],"status":"ok","games":{"arma3":"2.12"},"since":"arma3 2.12","arma3_since":"2.12","description":"Returns the control at the specified coordinates.","syntaxes":[{"syntax":"display ctrlAt [x, y]","params":[{"name":"display","type":"Display","description":"the display to check","type_expr":"Display"},{"name":"x","type":"Number","description":"position (0 = left, 1 = right)","type_expr":"Number"},{"name":"y","type":"Number","description":"position (0 = top, 1 = bottom)","type_expr":"Number"}],"returns":{"type":"Control","type_expr":"Control","description":"the control at the specified coordinates, controlNull if none"},"form":"binary","left":{"text":"display"},"right":{"text":"[x, y]"}}],"examples":[{"code":["private _ctrl = _myDisplay ctrlAt [0.5, 0.5];"]}],"see_also":["ctrlCreate","ctrlSetPosition","ctrlCommit"]}