> For the complete documentation index, see [llms.txt](https://lanefox.gitbook.io/vault/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lanefox.gitbook.io/vault/guides/getting-started-inventory/faq.md).

# FAQ

## How do I add shortcuts to specific Hotbar items?

```
if (Keyboard.current.digit1Key.wasPressedThisFrame)
{
        Hotbar.ActivateSlotRemotely(0);
}
```

You can activate any specific slot index with the code above, just change the 0 to the slot id you want. You could scale this up to use all of the keyboard digit keys, mapping them to specific indexes.
