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

> Gets generic item information from the inventory, like weight, stackable, description, label, etc.

Gets generic item information from the inventory, like weight, stackable, description, 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>

### Parameters

| Name       | Data Type | Description                 |
| ---------- | --------- | --------------------------- |
| `itemName` | string    | The name of the item to get |

### Return value

| Name   | Data Type | Description                                                 |
| ------ | --------- | ----------------------------------------------------------- |
| `item` | table     | The item information. If the item is not found, returns nil |


## Related topics

- [Get static items list](/jaksam-inventory/functions/shared/get-static-items-list.md)
- [Get item label](/jaksam-inventory/functions/shared/get-item-label.md)
- [Shared](/jaksam-inventory/functions/shared/index.md)
- [Item transferred](/jaksam-inventory/hooks/on-item-transferred.md)
