Godot Remova o nó do grupo

for node in get_tree().get_nodes_in_group("rocks"):
    node.remove_from_group("rocks")
Adam the First