godot delete node in script code example Example: godot destroy node Self destroy: queue_free() get_parent().remove_child(self)