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

# Get static item

> Obtiene información genérica de un ítem del inventario, como peso, si es apilable, descripción, label, etc.

Obtiene información genérica de un ítem del inventario, como peso, si es apilable, descripción, label, etc.

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

  ```lua Example theme={null}
  local item = exports['jaksam_inventory']:getStaticItem('bread')
  print(item.label) -- Bread
  print(item.weight) -- 1.0
  print(item.stackable) -- true
  print(item.description) -- A bread
  print(item.maxStack) -- 100
  print(item.rarity) -- common
  print(item.type) -- item|container|ammo|currency
  ```
</CodeGroup>

### Parámetros

| Nombre | Tipo de Dato | Descripción |
| - | - | - |
| `itemName` | string | El nombre del ítem a obtener |

### Valor de retorno

| Nombre | Tipo de Dato | Descripción |
| - | - | - |
| `item` | table | La información del ítem. Si el ítem no se encuentra, devuelve nil |


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