6 lines
111 B
GDScript
6 lines
111 B
GDScript
extends Node
|
|
|
|
func _input(event: InputEvent) -> void:
|
|
if event.is_action_pressed("menu"):
|
|
get_tree().quit()
|