---
name: "ctrlVisible"
type: command
status: ok
groups: ["GUI Control"]
arma3_since: "0.50"
locality: {"argument": "local", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/ctrlVisible
revid: 348410
updated: 2023-11-08T13:00:06Z
---

# ctrlVisible

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

Locality: arguments **local**

## Description

Returns if a control of the currently active user dialog is shown or not. Read Arma: GUI Configuration for more information about user dialogs and controls.

## Syntax

```sqf
ctrlVisible idc
```

**Parameters:**

- `idc`: [Number](../topics/Number.md) - control IDC

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md) if the control is shown, [false](../commands/false.md) if not

## Examples

### Example 1

```sqf
_bool = ctrlVisible 100;
```

## See also

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

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