# How to use inventory and add items

## How to use Inventory

Simple, just add the "Inventory" component to your JU Character and you are ready to add and use items.

<div align="left"><figure><img src="/files/R3EIguVbDZGnngriWQ9o" alt=""><figcaption></figcaption></figure></div>

| Options                      | Description                                                                                                                                                                                                        |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Update On Body Visibility    | Updates the visibility of items by body                                                                                                                                                                            |
| Is A Loot                    | This option in an external inventory makes it possible to access items from another inventory (Collecting items from a dead enemy for example)                                                                     |
| Holdable Items Right Hand    | Items that are possible to wield in the right hand                                                                                                                                                                 |
| Holdable Items Left Hand     | Items that are possible to wield in the left hand                                                                                                                                                                  |
| Sequence Slot                | Sequence for changing holdable items by alphanumeric key numbers. Can be set by [Inventory Slots](/ju-tps-documentation/game-development/how-to-use-inventory-and-add-items/inventory-in-ui.md) present in the UI. |
| Enable PickUp                | Enable Item Pick Up System                                                                                                                                                                                         |
| Item Layer                   | Pick Up Checker Item Layer                                                                                                                                                                                         |
| Checker Offset               | Pick Up Checker Position Offset                                                                                                                                                                                    |
| Checker Radius               | Pick Up Checker Radius                                                                                                                                                                                             |
| Use Default Input To Pick Up | Uses standard input control to collect items from environment                                                                                                                                                      |
| Hold Time To Pick Up         | Time to pick up a item                                                                                                                                                                                             |

## How to add items

1 - Find the right hand bone and place the item in hand

<div align="left"><figure><img src="/files/cgVBBmgOaiKEvbyQTkKV" alt=""><figcaption></figcaption></figure></div>

2 - Click on "Setup Items" button

<div align="left"><figure><img src="/files/tRSevLecU5zcGZ0skyE2" alt=""><figcaption></figcaption></figure></div>

The item is now ready to use, but to be able to change items during the game, let's add the component **Item Switch Manager**:&#x20;

<div align="left"><figure><img src="/files/EljRHHE2uE0zvJzrpXdP" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
Choose the most convenient [item switch options](/ju-tps-documentation/game-development/how-to-use-inventory-and-add-items/old-versions-how-to-switch-between-items.md) for your game.
{% endhint %}

✅ **Now you have a item working**

<div align="left"><figure><img src="/files/ztuNMFIzQLaC921Q7DnS" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://julhiecio.gitbook.io/ju-tps-documentation/game-development/how-to-use-inventory-and-add-items.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
