# sm.localPlayer.getHotbar

Returns the hotbar container of the player.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.localPlayer.getHotbar(  )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.localPlayer.md#gethotbar)

**Availability:** Client only

**Returns:**

| Type | Description |
| --- | --- |
| [Container](../Game-Script-Environment/Userdata/Container.md) | The player's hotbar. |
