{"name":"allControls","title":"allControls","type":"command","url":"https://community.bistudio.com/wiki/allControls","revid":352271,"updated":"2024-02-04T22:03:55Z","groups":["GUI Control"],"status":"ok","games":{"arma3":"1.38"},"since":"arma3 1.38","arma3_since":"1.38","description":"Returns a list of all controls in the provided display or controls group, including \"sub\"-controls from other CT_CONTROLS_GROUPs.","syntaxes":[{"syntax":"allControls display","params":[{"name":"display","type":"Display","type_expr":"Display"}],"returns":{"type":"Array of Controls","type_expr":"Array<Control>"},"form":"unary","right":{"text":"display"}},{"syntax":"allControls controlsGroup","since":"arma3 2.04","params":[{"name":"controlsGroup","type":"Control","description":"CT_CONTROLS_GROUP","type_expr":"Control"}],"returns":{"type":"Array of Controls","type_expr":"Array<Control>"},"form":"unary","right":{"text":"controlsGroup"}}],"examples":[{"code":["_allCtrls = allControls findDisplay 46;"]},{"code":["_allSubCtrls = allControls _myControlsGroup;"]}],"see_also":["allDisplays","controlsGroupCtrl","ctrlCreate","allVariables","allCurators","allGroups","allDead","allDeadMen"]}