> 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="https://3932909560-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJbMi1RQ5OkWEfZdkCUEX%2Fuploads%2FBbhrjyafD42eZKJdS8Pv%2FLoadLayoutRule.png?alt=media&amp;token=8e45c856-1d7e-48eb-85a2-7ba1aeda1312" 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="https://3932909560-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJbMi1RQ5OkWEfZdkCUEX%2Fuploads%2FQSzrMdKocNrZug06165P%2FSaveLayout.png?alt=media&amp;token=cf72f691-5474-4769-8140-e842e4d52869" 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.
