---
name: "removeItem"
type: command
status: ok
groups: ["Unit Inventory"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/removeItem
revid: 351753
updated: 2024-01-03T10:47:47Z
---

# removeItem

*Command · Unit Inventory · Arma 3 v0.50*

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

## Description

Removes item from the inventory. The removal order by containers is [uniform](../commands/uniform.md) → [vest](../commands/vest.md) → [backpack](../commands/backpack.md).

## Syntax

```sqf
unit removeItem item
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
bluforUnit unassignItem "NVGoggles";
bluforUnit removeItem "NVGoggles";
opforUnit unassignItem "NVGoggles_OPFOR";
opforUnit removeItem "NVGoggles_OPFOR";
independentUnit unassignItem "NVGoggles_INDEP";
independentUnit removeItem "NVGoggles_INDEP";
```

## See also

[removeItems](../commands/removeItems.md) · [unassignItem](../commands/unassignItem.md) · [addItem](../commands/addItem.md) · [assignItem](../commands/assignItem.md) · [assignedItems](../commands/assignedItems.md) · [linkItem](../commands/linkItem.md) · [unlinkItem](../commands/unlinkItem.md) · [removeAllAssignedItems](../commands/removeAllAssignedItems.md)

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