> For the complete documentation index, see [llms.txt](https://travljen.gitbook.io/unit-formation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://travljen.gitbook.io/unit-formation/getting-started/position-units-in-editor.md).

# Position units in Editor

You can position any units in your scene right from the Editor with these simple steps!

{% tabs %}
{% tab title="Add" %}
Add <mark style="color:blue;">**EditorFormationPlacement**</mark> component to your scene, either manually or use ***"TRavljen/Add Editor Formation Placement"*** menu option.

<figure><img src="/files/VAB0Mr1zEtIswn4omlWU" alt=""><figcaption><p>Menu Option</p></figcaption></figure>
{% endtab %}

{% tab title="Configure" %}
Now use the placement component to set up desired configurations and **most** importantly make sure to add the units you want to control.

<figure><img src="/files/9tK6Bmvi5duXOKFHy2vx" alt="" width="563"><figcaption><p>Helper section for controlled units</p></figcaption></figure>
{% endtab %}

{% tab title="Start placing" %}
Once units are connected, simply move the editor game object and rotate it to find the best place for it. You can either have a **gizmos** preview of the formation, or keep Gizmos disabled to have realtime formation updates for your controlled units.

<figure><img src="/files/KHVJkkDe2O1NAK4Stl3D" alt=""><figcaption><p>Editor placement with Gizmo preview</p></figcaption></figure>
{% endtab %}
{% endtabs %}

After set up you can move your units in scene, save it and they will remain there when you return. :sunglasses:


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://travljen.gitbook.io/unit-formation/getting-started/position-units-in-editor.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.
