# SetMainWindowPosition(Rect)

> Sets position of Unity Editor's main window.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static void SetMainWindowPosition(Rect position)
```

### Parameters

**** (\[Rect]\(/engine/6000.5/script-reference/unityengine/rect)):&#x20;
