TreeGetSelected Method |
Returns the currently focused item, or null if no item is focused.
In and modes, the focused item is same as the selected item. In mode, the focused item is the item under the focus cursor, not necessarily selected.
To get the currently selected item(s), use GetNextSelected(Object).
Namespace: Godot
public TreeItem GetSelected()
[Missing <returns> documentation for "M:Godot.Tree.GetSelected"]