# midpointHandleSizeFunction

> The Handles.SizeFunction to specify how large the midpoint control handles should be.

## Definition

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

```csharp
public Handles.SizeFunction midpointHandleSizeFunction { get; set; }
```

### Remarks

Defaults to [PrimitiveBoundsHandle.DefaultMidpointHandleSizeFunction](/engine/6000.3/script-reference/unityeditor/imgui/controls/primitiveboundshandle/defaultmidpointhandlesizefunction.md) for new instances of [PrimitiveBoundsHandle](/engine/6000.3/script-reference/unityeditor/imgui/controls/primitiveboundshandle.md). The midpoint handle will be drawn with a size of `0` if a value of `null` is assigned.

Additional Resources: [PrimitiveBoundsHandle.midpointHandleDrawFunction](/engine/6000.3/script-reference/unityeditor/imgui/controls/primitiveboundshandle/midpointhandledrawfunction.md).
