# Editor.PanelWindow.MoveToCenter

```csharp
void MoveToCenter()
```

Centre the window on its [Editor.PanelWindow.Owner](/api/Editor.PanelWindow/Owner), or on the usable part of its display when
it has none. Either way it ends up on screen.

Declared in [Editor.PanelWindow](/api/Editor.PanelWindow).
Assembly: `Sandbox.Tools`.
