---
name: "ctrlShow"
type: command
status: ok
groups: ["GUI Control"]
arma3_since: "0.50"
locality: {"argument": "local", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/ctrlShow
revid: 370565
updated: 2025-01-09T18:12:50Z
---

# ctrlShow

*Command · GUI Control · Arma 3 v0.50 · introduced in Operation Flashpoint v1.75*

Locality: arguments **local** · effect **local**

## Description

Shows or hides a control, or group of controls together with all the controls inside that group of controls.

Read Arma: GUI Configuration for more information about user dialogs and controls.

> [!NOTE]
> Using [ctrlShow](../commands/ctrlShow.md) on a controls group will show or hide all controls within the controls group (including controls that are placed in nested controls groups).

## Syntax

### Syntax 1

```sqf
ctrlShow [idc, show]
```

**Parameters:**

- `idc`: [Number](../topics/Number.md) - control IDC
- `show`: [Boolean](../topics/Boolean.md) - [true](../commands/true.md) to show the control, [false](../commands/false.md) to hide it

**Returns:** [Nothing](../topics/Nothing.md)

### Syntax 2

```sqf
control ctrlShow show
```

**Parameters:**

- `control`: [Control](../topics/Control.md)
- `show`: [Boolean](../topics/Boolean.md) - [true](../commands/true.md) to show the control, [false](../commands/false.md) to hide it

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
ctrlShow [100, false];
```

### Example 2

```sqf
_control ctrlShow false;
```

## See also

[ctrlVisible](../commands/ctrlVisible.md) · [ctrlShown](../commands/ctrlShown.md) · [ctrlEnable](../commands/ctrlEnable.md)

<sub>Source: [BI Community Wiki — ctrlShow](https://community.bistudio.com/wiki/ctrlShow) (revision 370565).</sub>
