# One Click Convert Tool

LogicBlock 1.2.0 includes a conversion tool that allows you to convert existing Trigger or Actions logic into reusable Block Lists. This lets you move scene-based logic into Blocks without rebuilding instruction chains.

### Opening the Tool

Right-click a **Trigger** or **Actions** component and select:

**Convert to LogicBlock Instruction List**

This opens the conversion window.

### Configuring the New List

Inside the conversion window, you can:

* Select the **target Block** where the list will be created.
* Set the **list name** (defaults to the GameObject name).
* Choose an **icon and color** for easier identification.

### Reference Deduplication

The tool automatically detects duplicate reference values and merges them into a single reference.\
For example, if multiple instructions use the same number value, only one reference will be created and reused.

> GameObject references cannot be deduplicated.

### Automatic Instruction Replacement

After conversion:

* A **Run Instruction Block List** instruction is added.
* The instruction is automatically linked to the selected Block and new list.

### Reference Migration

The tool attempts to preserve existing values by:

* Assigning previous instruction values to new references.
* Updating instructions inside the Block to use those references.

### Important Notes

Converting instruction lists into ScriptableObject-based Block Lists is complex and may contain edge cases. Some instructions, values, or references may require manual adjustment after conversion.


---

# 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/one-click-convert-tool.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.
