godot get nodes in group code example Example: get list of objects in group godot var my_group_members = get_tree().get_nodes_in_group("my_group")