# hoveredItem

> Use this property to detect which TreeViewItem the mouse cursor is currently hovering over in the TreeView. This property is only valid if the TreeView<TIdentifier>.enableItemHovering property has been set to true.

## Definition

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

```csharp
protected TreeViewItem<TIdentifier> hoveredItem { get; }
```
