extends Button func _on_CancelButton_pressed(): Global.cancel_level() func _input(event): if event.is_action_pressed("BACK"): Global.cancel_level()