> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Show hotbar

> Shows the hotbar UI with the first 5 slots of the player's inventory.

Shows the hotbar UI with the first 5 slots of the player's inventory.

<CodeGroup>
  ```lua Export theme={null}
  exports['jaksam_inventory']:showHotbar()
  ```

  ```lua Example theme={null}
  -- Show hotbar
  exports['jaksam_inventory']:showHotbar()

  -- Show hotbar after receiving an item
  AddEventHandler('myScript:itemReceived', function()
      exports['jaksam_inventory']:showHotbar()
  end)
  ```
</CodeGroup>

### Parameters

None.

### Return value

None. Shows the hotbar UI which automatically hides after 2 seconds.

### Notes

* The hotbar shows slots 1-5 from the player's inventory
* If `config.dynamicHotbar` is true, empty slots at the end are hidden
* The hotbar automatically hides after 2 seconds
* Multiple calls reset the hide timer


## Related topics

- [Set hotbar disabled](/jaksam-inventory/functions/client/set-hotbar-disabled.md)
- [Client](/jaksam-inventory/functions/client/index.md)
- [Show action button](/jaksam-inventory/functions/client/show-action-button.md)
- [On showroom enter](/dealerships-creator/client/showroom/on-showroom-enter.md)
- [On showroom exit](/dealerships-creator/client/showroom/on-showroom-exit.md)
