godot delete allchildren code example
Example: clear all children godot
static func delete_children(node):
for n in node.get_children():
node.remove_child(n)
n.queue_free()
static func delete_children(node):
for n in node.get_children():
node.remove_child(n)
n.queue_free()