# GetWindowSize()

> Retrieves the dimensions of the SceneViewCameraWindow window.

## Definition

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

```csharp
public override Vector2 GetWindowSize()
```

### Returns

| Type                                                              | Description                                                                                                                               |
| ----------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| [Vector2](/engine/6000.7/script-reference/unityengine/vector2.md) | Returns the width and height of the [SceneViewCameraWindow](/engine/6000.7/script-reference/unityeditor/sceneviewcamerawindow.md) window. |
