How to make exit button? code example Example: How to make exit button? func _on_close_pressed(): get_tree().quit()