# Editor.DockWindow.SaveLayout

```csharp
void SaveLayout()
```

Persist the current dock layout. Happens automatically when the window closes or the app exits.

Declared in [Editor.DockWindow](/api/Editor.DockWindow).
Assembly: `Sandbox.Tools`.
