---
name: "hideObjectGlobal"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "1.12"
locality: {"argument": "global", "effect": "global", "server_exec": true}
source: https://community.bistudio.com/wiki/hideObjectGlobal
revid: 369350
updated: 2024-09-03T18:43:03Z
---

# hideObjectGlobal

*Command · Object Manipulation · Arma 3 v1.12*

Locality: arguments **global** · effect **global** · **server execution only**

## Description

This command is designed for MP. Hides object on all connected clients as well as JIP. Can be used on static objects. In singleplayer this command behaves just like [hideObject](../commands/hideObject.md).

## Syntax

### Syntax 1

```sqf
hideObjectGlobal object
```

**Parameters:**

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

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

### Syntax 2

```sqf
object hideObjectGlobal 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
hideObjectGlobal myObject; // hides myObject
hideObjectGlobal nearestBuilding [2500, 2500, 0];
```

### Example 2

```sqf
myObject hideObjectGlobal true;    // hides myObject
myObject hideObjectGlobal false;    // shows myObject
```

### Example 3

```sqf
[myObject, true] remoteExec ["hideObjectGlobal", 2]; // remote-executes hideObjectGlobal from a client to the server
```

## See also

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

## Community notes

**DreadedEntity** — 2015-06-27

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

---

**Demellion** — 2016-09-01

As of **A3 1,62.134494** running **hideObjectGlobal** in big loop may cause some objects not to be hidden for a players already connected or passed **JIP**. To avoid players rendering desync consider running that in **preInit** schedule of a server.

---

**DrSova** — 2017-08-07

In **A3 1.72.142342** when you hide object via [hideObjectGlobal](../commands/hideObjectGlobal.md), model sounds still be audible.
For e.g. if you delete apex house from map, you still hear a conditioner sound at this spot

---

**Tankbuster** — 2018-10-13

Eventhandlers such as "explosion" will work on hidden objects

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