---
name: "controlNull"
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/controlNull
revid: 369405
updated: 2024-09-03T18:43:23Z
---

# controlNull

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

## Description

A non-existing [Control](../topics/Control.md). To compare non-existent objects use [isNull](../commands/isNull.md) or [isEqualTo](../commands/isEqualTo.md) (see examples).

## Syntax

```sqf
controlNull
```

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

## Examples

### Example 1

```sqf
if (_myCtrl isEqualTo controlNull) then { hint "_myCtrl is null!"; };
```

### Example 2

```sqf
controlNull == controlNull;            // returns false
isNull controlNull;                        // returns true
controlNull isEqualTo controlNull;        // returns true
```

### Example 3

```sqf
str controlNull; // No control
```

## See also

[displayNull](../commands/displayNull.md) · [grpNull](../commands/grpNull.md) · [locationNull](../commands/locationNull.md) · [objNull](../commands/objNull.md) · [taskNull](../commands/taskNull.md) · [teamMemberNull](../commands/teamMemberNull.md) · [scriptNull](../commands/scriptNull.md) · [configNull](../commands/configNull.md) · [typeName](../commands/typeName.md) · [isNull](../commands/isNull.md)

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