> For the complete documentation index, see [llms.txt](https://tools.continis.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tools.continis.io/hats/workspaces/workspace-rules/load-layout.md).

# Load Layout

Use this rule to load an Editor or Overlays layout as part of your workspace switch.

<figure><img src="/files/D3XP4zidMzGe4dZhSnm7" alt="" width="563"><figcaption></figcaption></figure>

### On workspace enabled

The specified window layout and/or Scene View overlays layout get loaded.

### On workspace disabled

No behaviour.

{% hint style="info" %}
Both fields are optional, so you can assign just one or both.
{% endhint %}

#### Setup

**Windows Layout (.wlt)**

Ensure the Editor is in the state you want (windows, focused windows, window size, etc.) and choose **Save Layout to File...** from the Layouts button in the top-right corner of the Unity toolbar:

<figure><img src="/files/ZLcugimRKBudWUTKrff7" alt="" width="326"><figcaption></figcaption></figure>

Save the `.wlt` file in a location of your choice, and then reference it in the Load Layout rule.

**Overlays Layout (.overlay)**

Arrange the Scene View overlays as you like, then save them to a `.overlay` preset file kept inside your project. Reference that file in the Load Layout rule.


---

# 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://tools.continis.io/hats/workspaces/workspace-rules/load-layout.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.
