Level.gd 164 B

123456
  1. extends Node2D
  2. func _input(event: InputEvent) -> void:
  3. if event.is_action_pressed("ui_cancel"):
  4. get_tree().change_scene_to_packed(load("res://run/menu.tscn"))