TreeGetEdited Method |
Returns the currently edited item. Can be used with item_edited to get the item that was modified.
func _ready():
$Tree.item_edited.connect(on_Tree_item_edited)
func on_Tree_item_edited():
print($Tree.get_edited()) # This item just got edited (e.g. checked).
Namespace: Godot
public TreeItem GetEdited()
[Missing <returns> documentation for "M:Godot.Tree.GetEdited"]