---
name: "getSlotItemName"
type: command
status: ok
groups: ["Unit Inventory"]
arma3_since: "2.14"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getSlotItemName
revid: 353032
updated: 2024-03-12T11:47:36Z
---

# getSlotItemName

*Command · Unit Inventory · Arma 3 v2.14*

## Description

Returns the name of assigned item in given slot or the empty string.

## Syntax

```sqf
unit getSlotItemName slot
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)
- `slot`: [Number](../topics/Number.md) - can be one of:
  - 603 - Goggles
  - 605 - Headgear
  - 608 - Map
  - 609 - Compass
  - 610 - Watch
  - 611 - Radio
  - 612 - GPS
  - 616 - HMD
  - 617 - Binoculars
  - 701 - Vest
  - 801 - Uniform
  - 901 - Backpack

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

## Examples

### Example 1

```sqf
hint (player getSlotItemName 610);
```

## See also

[assignedItems](../commands/assignedItems.md) · [assignItem](../commands/assignItem.md) · [unassignItem](../commands/unassignItem.md) · [linkItem](../commands/linkItem.md) · [unlinkItem](../commands/unlinkItem.md) · [addItem](../commands/addItem.md) · [removeItem](../commands/removeItem.md) · [removeAllAssignedItems](../commands/removeAllAssignedItems.md) · [items](../commands/items.md) · [itemsWithMagazines](../commands/itemsWithMagazines.md) · [backpacks](../commands/backpacks.md)

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