---
name: "ctrlIDC"
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/ctrlIDC
revid: 364443
updated: 2024-05-16T09:58:13Z
---

# ctrlIDC

*Command · GUI Control · Arma 3 v0.50*

## Description

Returns control IDC.

## Syntax

```sqf
ctrlIDC control
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
ctrlIDC _ctrl;
```

### Example 2

```sqf
ctrlIDC controlNull; // returns -1
```

## See also

[allControls](../commands/allControls.md) · [allDisplays](../commands/allDisplays.md) · [controlsGroupCtrl](../commands/controlsGroupCtrl.md) · [ctrlDelete](../commands/ctrlDelete.md) · [ctrlModel](../commands/ctrlModel.md) · [ctrlSetModel](../commands/ctrlSetModel.md) · [ctrlPosition](../commands/ctrlPosition.md) · [ctrlSetPosition](../commands/ctrlSetPosition.md) · [ctrlClassName](../commands/ctrlClassName.md) · [ctrlModelScale](../commands/ctrlModelScale.md) · [ctrlSetModelScale](../commands/ctrlSetModelScale.md) · [ctrlModelDirAndUp](../commands/ctrlModelDirAndUp.md) · [ctrlSetModelDirAndUp](../commands/ctrlSetModelDirAndUp.md) · [displayParent](../commands/displayParent.md)

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