---
name: "objNull"
type: command
status: ok
groups: ["Variables"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/objNull
revid: 379022
updated: 2026-09-22T13:39:58Z
---

# objNull

*Command · Variables · Arma 3 v0.50 · introduced in Operation Flashpoint v1.00*

## Description

A non-existent [Object](../topics/Object.md). To compare non-existent objects use [isNull](../commands/isNull.md) or [isEqualTo](../commands/isEqualTo.md):

```sqf
objNull == objNull;            // false
objNull != objNull;            // true
isNull objNull;                // true
objNull isEqualTo objNull;    // true
typeName objNull;           // "OBJECT"
```

## Syntax

```sqf
objNull
```

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

## Examples

### Example 1

```sqf
player == player; // false if player is null
```

### Example 2

```sqf
isNull player; // true if player is null
```

### Example 3

```sqf
str objNull // <NULL-object>
```

### Example 4

```sqf
position objNull // [0,0,0]
```

## See also

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

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