extends Node func _input(event): if event.is_action_pressed("ui_cancel"): # 'ui_cancel' is a built-in action defined in Project > Project Settings > Input Map get_tree().change_scene_to_file("res://scenes/start_screen.tscn")