# GetSize()

> Gets the current size of the bounding volume for this instance.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.IMGUI.Controls](/engine/6000.6/script-reference/unityeditor/imgui/controls.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
protected Vector3 GetSize()
```

### Returns

| Type                                                              | Description                                                |
| ----------------------------------------------------------------- | ---------------------------------------------------------- |
| [Vector3](/engine/6000.6/script-reference/unityengine/vector3.md) | The current size of the bounding volume for this instance. |

### Remarks

All axes of the returned [Vector3](/engine/6000.6/script-reference/unityengine/vector3.md) will always have positive values. Any disabled axes will have a value of `0`.

Additional Resources: [PrimitiveBoundsHandle.axes](/engine/6000.6/script-reference/unityeditor/imgui/controls/primitiveboundshandle/axes-1.md).
