# Setup Guide

{% hint style="danger" %}
**LogicBlock** requires Game Creator 2 and can't work without it.
{% endhint %}

## Setup

1. [Setup and install Game Creator 2](https://docs.gamecreator.io/gamecreator/getting-started/installation/)
2. Download and install **LogicBlock | Game Creator 2** from the package manager

Optionally, you can install the example content.

## **Installing the Example Content**

To install example content for LogicBlock:

1. Open the **Game Creator Install Window**:\
   `Game Creator > Install...`
2. In the list, locate **LogicBlock** and check the box for **Examples**.
3. Click **Install** to add the examples to your project.

**Example Location**

Once installed, you can find the example content here:\
`Plugins/GameCreator/Installs/LogicBlock.Examples@1.0.0/`

## **Optional Setup**

When installing **LogicBlock** via the Unity Package Manager, it will automatically detect and integrate with the following **Game Creator 2 modules** if they are present:

* Inventory
* Stats
* Quests
* Melee
* Shooter

**Automatic Integration**

* If any of these modules are already installed, LogicBlock will **automatically enable full support** for them during installation.

**Manual Integration Check**

* If you install a supported module **after** LogicBlock, you can manually trigger the integration check via the Unity toolbar:\
  `Game Creator > LogicBlock > Detect and Install Integration`

**Removing Modules**

To properly remove a module:

1. First, **uninstall LogicBlock** via the Unity toolbar:\
   `Game Creator > Uninstall > LogicBlock`
2. Then uninstall the module you no longer need.
3. After that, **reinstall LogicBlock** to restore full functionality.

## Updating LogicBlock

When a new version of LogicBlock is released, we recommend **uninstalling the old version first** to ensure a clean update.

**How to Uninstall**

Go to the Unity toolbar:\
`Game Creator > Uninstall > LogicBlock`

After uninstalling, you can safely install the latest version.


---

# 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://docs.fullscreen.no/info/game-creator-2-assets/logicblock/setup-guide.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.
