---
name: "hideObject"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/hideObject
revid: 349468
updated: 2023-11-08T16:49:17Z
---

# hideObject

*Command · Object Manipulation · Arma 3 v0.50 · introduced in Arma 2 v1.06*

Locality: arguments **global** · effect **local**

## Description

Hide entity. Can be used on soldiers and vehicles, also on static objects.

## Syntax

### Syntax 1

```sqf
hideObject object
```

**Parameters:**

- `object`: [Object](../topics/Object.md)

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

### Syntax 2

```sqf
object hideObject hidden
```

**Parameters:**

- `object`: [Object](../topics/Object.md)
- `hidden`: [Boolean](../topics/Boolean.md) - [true](../commands/true.md)->hidden; [false](../commands/false.md)->visible

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

## Examples

### Example 1

```sqf
hideObject unitName;
```

### Example 2

```sqf
objectName hideObject true;
```

## See also

[isObjectHidden](../commands/isObjectHidden.md) · [hideObjectGlobal](../commands/hideObjectGlobal.md) · [deleteCollection](../commands/deleteCollection.md)

## Community notes

**Shuko** — 2010-07-15

This command will hide a unit, but he will still shoot enemies. Unit will be invisible, but weapon muzzle are visible.

---

**McHide** — 2011-02-04

Use MP framework to activate this command on all players from server or any other maschine

```sqf
_nic = [nil, mantohide, "per", rHideObject, true] call RE; // In A3 use hideObjectGlobal instead.
```

---

**DamonDaemon** — 2012-02-10

Hidden Vehicles still emit smoke/rotor blade dust and (probably) still emit engine sounds.
Useful for creating objects the mission maker doesn't want to be seen, like Units that protect a certain Area (like a safe-zone) against teamkillers or enemy units.

---

**Benargee** — 2014-10-30

When used on player, it only has an effect on third person mode. First person LOD is still visible.

---

**DreadedEntity** — 2015-06-27

[hideObject](../commands/hideObject.md) and [hideObjectGlobal](../commands/hideObjectGlobal.md) disable object collision in addition to rendering.
(tested by hiding buildings and running through, driving through, flying through, and shooting through where the building used to be)

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