# maxSize

> The maximum size of this window when it is floating or modal. The maximum size is not used when the window is docked.

## Definition

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

```csharp
public Vector2 maxSize { get; set; }
```

### Remarks

An EditorWindow can be resized.  The [EditorWindow.maxSize](/engine/6000.5/script-reference/unityeditor/editorwindow/maxsize.md) variable provides the largest width and height that is supported.  This is typically a Vector2(4000,4000). Note that this size is likely to be larger than most screen resolutions.
