> For the complete documentation index, see [llms.txt](https://espergames.gitbook.io/inventool/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://espergames.gitbook.io/inventool/components/item-spawner.md). Agents can also search and read this documentation through its [MCP server](https://espergames.gitbook.io/inventool/~gitbook/mcp).

# Item Spawner

Spawning items without code.

<figure><img src="https://658062748-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkBIjnmm9A7LqfwoDhaeR%2Fuploads%2Fzhj7YyF71VbSn5iZz4SK%2Fimage.png?alt=media&amp;token=dd7697d3-e292-441d-bfe7-55b3d9faf2d9" alt=""><figcaption></figcaption></figure>

The Item Spawner component can be used to spawn a single or a list of items with the help of a [Loot Box](https://espergames.gitbook.io/inventool/scriptable-objects/loot-box.md).

{% hint style="warning" icon="dollar-sign" %}
Note that currency drops set on the loot box are completely ignored. For currency drops, create items that represent a currency instead.
{% endhint %}

**This component works with both 2D and 3D collision.**

You have more control of this component through code! Visit the scripting section for more information.

{% content-ref url="/pages/w2N0MqZDRwYItEaqZyu0" %}
[Item Spawner](https://espergames.gitbook.io/inventool/scripting/items/item-spawner.md)
{% endcontent-ref %}

## Properties

| Name             | Description                                                                                                                                      |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| Spawn Target     | The target object type used to spawn items. Currency settings of a Loot Box are ignored because currencies themselves are not spawnable objects. |
| Loot Box         | The loot box reference used to spawn items.                                                                                                      |
| Spawn Method     | What must happen for the items to be spawned? On call means you must manually call the Spawn method through code.                                |
| Collision Target | The target that triggers items to spawn when this item spawner collides with it.                                                                 |
| After Spawn      | What to do after the items are spawned.                                                                                                          |
| Spawn Range      | The item drop spawn range.                                                                                                                       |
| Spawn Delay      | The length of time passed before the item(s) are spawned.                                                                                        |
| Use Timeout      | If timeout should be enabled for dropped items.                                                                                                  |
