extends Button class_name ExitButton # Called when the node enters the scene tree for the first time. func _ready(): if OS.get_name() == "HTML5": queue_free() func _pressed(): get_tree().quit()