---
name: "addGoggles"
type: command
status: ok
groups: ["Unit Inventory"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/addGoggles
revid: 318656
updated: 2022-05-13T09:21:15Z
---

# addGoggles

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

## Description

Create a new item and try to link it into goggles (glasses) slot.

> [!NOTE]
> This command does **not** add NVGs, which are [hmd](../commands/hmd.md) slot items (see [linkItem](../commands/linkItem.md) instead).

## Syntax

```sqf
unit addGoggles type
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
player addGoggles "G_Tactical_Clear";
```

### Example 2

```sqf
diver addGoggles "G_Diving";
```

## See also

[goggles](../commands/goggles.md) · [removeGoggles](../commands/removeGoggles.md)

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