# midpointHandleDrawFunction

> An optional Handles.CapFunction to use when displaying the control handles. Defaults to Handles.DotHandleCap if no value is specified.

## Definition

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

```csharp
public Handles.CapFunction midpointHandleDrawFunction { get; set; }
```

### Remarks

Additional Resources: [PrimitiveBoundsHandle.midpointHandleSizeFunction](/engine/6000.5/script-reference/unityeditor/imgui/controls/primitiveboundshandle/midpointhandlesizefunction.md).
