# defaultSize

> Set defaultSize to define the size of an Overlay when it hasn't been resized by the user.

## Definition

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

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