# SetSize(Vector3)

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

## Definition

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

```csharp
protected void SetSize(Vector3 size)
```

### Parameters

**** (\[Vector3]\(/engine/6000.7/script-reference/unityengine/vector3)): A [Vector3](/engine/6000.7/script-reference/unityengine/vector3.md) specifying how large the bounding volume is along all of its axes.

### Remarks

A negative value along any axis of the specified [Vector3](/engine/6000.7/script-reference/unityengine/vector3.md) will automatically be converted into a positive value. Disabled axes will automatically be converted to `0`.

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