# DrawHandle()

> A function to display this instance in the current handle camera using its current configuration.

## Definition

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

```csharp
public void DrawHandle()
```

### Remarks

Always write properties to the handle before calling this function. Place the calls to this function inside [EditorGUI.BeginChangeCheck](/engine/6000.5/script-reference/unityeditor/editorgui/beginchangecheck.md) and [EditorGUI.EndChangeCheck](/engine/6000.5/script-reference/unityeditor/editorgui/endchangecheck.md) to detect user interaction and read the updated properties from the handle.

Additional Resources: [Editor.OnSceneGUI()](/engine/6000.5/script-reference/unityeditor/editor/onscenegui.md), [Handles.SetCamera](/engine/6000.5/script-reference/unityeditor/handles/setcamera.md).
