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