5 lines
118 B
GDScript
5 lines
118 B
GDScript
extends Node2D
|
|
|
|
func _input(event: InputEvent) -> void:
|
|
if event.is_action_pressed("ui_cancel"):
|
|
get_tree().quit()
|