6 lines
103 B
GDScript
6 lines
103 B
GDScript
extends Node
|
|
|
|
func _input(event: InputEvent) -> void:
|
|
if event.is_action("Quit"):
|
|
get_tree().quit()
|