# Load Layout

Use this rule to load an Editor 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&#x26;token=8e45c856-1d7e-48eb-85a2-7ba1aeda1312" alt="" width="563"><figcaption></figcaption></figure>

### On workspace enabled

The specified Editor layout gets loaded.

### On workspace disabled

No behaviour.

### Setup

To load a layout, you first need to **save it to a file**.

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&#x26;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.
