promiscuity/scenes/Settings.gd
2025-10-12 15:28:24 -05:00

6 lines
230 B
GDScript

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")