---
name: "BIS_fnc_displayControls"
type: function
status: ok
groups: ["GUI"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_displayControls
revid: 309465
updated: 2022-05-05T12:06:10Z
---

# BIS_fnc_displayControls

*Function · GUI · Arma 3 v0.50 · introduced in Take On Helicopters v1.00*

## Description

Return all controls of given display class

## Syntax

*syntax inferred from the function header*

```sqf
[param0, param1, param2] call BIS_fnc_displayControls
```

**Parameters:**

- `param0` — 0: CONFIG - display config
- `param1` — 1: NUMBER or CONFIG or STRING - type of returned values (control configs, their names or IDCs; default: configfile))
- `param2` — 2: BOOL - true to search content of controls group (default: true)

**Returns:** ARRAY

## Function header

The comment at the top of the function's file in the game; this page's description, params, syntax, returns come from it.

```sqf
/*
Description:
Return all controls of given display class

Parameter(s):
_this select 0: CONFIG - display config
_this select 1: NUMBER or CONFIG or STRING - type of returned values (control configs, their names or IDCs; default: configfile))
_this select 2: BOOL - true to search content of controls group (default: true)

Returns:
ARRAY
*/
```

<sub>Source: [BI Community Wiki — BIS fnc displayControls](https://community.bistudio.com/wiki/BIS_fnc_displayControls) (revision 309465).</sub>
