> ## 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.

# Are hotkeys enabled

> Devuelve si los hotkeys están actualmente habilitados o deshabilitados.

Devuelve si los hotkeys están actualmente habilitados o deshabilitados.

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

  ```lua Example theme={null}
  -- Comprueba si los hotkeys están habilitados
  local enabled = exports['jaksam_inventory']:areHotkeysEnabled()

  if enabled then
      print('Hotkeys are enabled')
  else
      print('Hotkeys are disabled')
  end

  -- Alterna los hotkeys
  local currentState = exports['jaksam_inventory']:areHotkeysEnabled()
  exports['jaksam_inventory']:setHotkeysEnabled(not currentState)
  ```
</CodeGroup>

### Parámetros

Ninguno.

### Valor de retorno

| Nombre | Tipo de dato | Descripción |
| - | - | - |
| `enabled` | boolean | True si los hotkeys están habilitados, false si están deshabilitados |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.