# Editor.Widget.RestoreGeometry

```csharp
bool RestoreGeometry(string state)
```

Restore position and size previously stored via [Editor.Widget.SaveGeometry](/api/Editor.Widget/SaveGeometry).
Returns false if the state is empty or no longer valid, e.g. after monitor or DPI changes.

### Parameters

- `state` (`string`)

### Returns

`bool`

Declared in [Editor.Widget](/api/Editor.Widget).
Assembly: `Sandbox.Tools`.
