---
name: "headgear"
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/headgear
revid: 319125
updated: 2022-05-13T09:23:14Z
---

# headgear

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

Locality: arguments **global**

## Description

Returns headgear of unit.

## Syntax

```sqf
headgear unit
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
hint headgear player; //H_HelmetB
```

## See also

[addHeadgear](../commands/addHeadgear.md) · [removeHeadgear](../commands/removeHeadgear.md) · [goggles](../commands/goggles.md) · [hmd](../commands/hmd.md)

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