---
name: "ctrlShown"
type: command
status: ok
groups: ["GUI Control"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/ctrlShown
revid: 310874
updated: 2022-05-07T20:24:10Z
---

# ctrlShown

*Command · GUI Control · Arma 3 v0.50 · introduced in Armed Assault v1.00*

## Description

Returns whether given control is shown.

## Syntax

```sqf
ctrlShown controlName
```

**Parameters:**

- `controlName`: [Control](../topics/Control.md)

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

## Examples

### Example 1

```sqf
_bool = ctrlShown _ctrl;
```

## See also

[ctrlShow](../commands/ctrlShow.md) · [ctrlVisible](../commands/ctrlVisible.md)

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