# DoubleClickedItem(int)

> Override this method to handle double click events on an item.

## Definition

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

```csharp
protected virtual void DoubleClickedItem(int id)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): ID of TreeViewItem that was double clicked.
