> 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/inventool-initializer.md). Agents can also search and read this documentation through its [MCP server](https://espergames.gitbook.io/inventool/~gitbook/mcp).

# Inventool Initializer

Initialize Inventool without code.

<figure><img src="https://658062748-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkBIjnmm9A7LqfwoDhaeR%2Fuploads%2FgTcl7Y4LrVJ5Q8YfNckh%2Fimage.png?alt=media&amp;token=5ca7c3d5-40db-4667-85e2-5d4ea7a7289c" alt=""><figcaption></figcaption></figure>

This component simply initializes Inventool on awake. Initialization is required for Inventool to work properly at runtime.

You can also [initialize Inventool through code](https://espergames.gitbook.io/inventool/scripting/initialization.md).

## Properties

| Name                 | Description                                                                                                                                                                           |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Player Transform     | The transform of the player. This is useful for item dropping and merchant interaction, as those features require a reference to the player transform.                                |
| Main Camera          | The main camera. Required for item drop billboarding. If you're not planning on using that, then there is no need to set this.                                                        |
| Terminate On Destroy | If the connection to Inventool's database should be terminated when this object is destroyed. Reinitialization may be required before working with Inventool's API after termination. |
| Terminate On Quit    | If the connection to Inventool's database should be terminated on quit.                                                                                                               |
| Dont Destroy On Load | If this object should not be destroyed when the scene is unloaded.                                                                                                                    |
