# Editor.DockWindow.RestoreFromStateCookie

```csharp
void RestoreFromStateCookie()
```

Restores window geometry and, on top of the base window, the saved dock layout.

Declared in [Editor.DockWindow](/api/Editor.DockWindow).
Assembly: `Sandbox.Tools`.
