---
name: "goggles"
type: command
status: ok
groups: ["Unit Inventory"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/goggles
revid: 320934
updated: 2022-05-13T10:04:40Z
---

# goggles

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

Locality: arguments **global**

## Description

Returns name of currently used goggles (for NVGoggles use [hmd](../commands/hmd.md)).

## Syntax

```sqf
goggles unit
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
_goggles = goggles assaultDiver; //G_Diving
```

### Example 2

```sqf
_goggles = goggles reconTeamLeader; //G_Shades_Black
```

## See also

[removeGoggles](../commands/removeGoggles.md) · [addGoggles](../commands/addGoggles.md) · [hmd](../commands/hmd.md) · [headgear](../commands/headgear.md) · [binocular](../commands/binocular.md) · [getDiverState](../commands/getDiverState.md)

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