---
name: "hideBody"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "0.50"
locality: {"argument": "local", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/hideBody
revid: 309957
updated: 2022-05-05T12:17:01Z
---

# hideBody

*Command · Object Manipulation · Arma 3 v0.50 · introduced in Armed Assault v1.00*

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

## Description

Hides dead body of the given unit. After a short delay, the body slowly sinks into the ground. After awhile, when group of the unit becomes [grpNull](../commands/grpNull.md), the body gets deleted and becomes [objNull](../commands/objNull.md). If applied to alive unit, nothing happens until unit dies, then the unit's body gets hidden. If a dead unit is human player, the body is hidden but not deleted until player respawns.

## Syntax

```sqf
hideBody unit
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
hideBody player1;
```

## See also

[deleteVehicle](../commands/deleteVehicle.md) · [setDamage](../commands/setDamage.md) · [addToRemainsCollector](../commands/addToRemainsCollector.md)

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