7 lines
180 B
GDScript3
7 lines
180 B
GDScript3
|
extends Sprite2D
|
||
|
|
||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||
|
func _process(delta):
|
||
|
if Input.is_action_just_pressed("Accept"):
|
||
|
get_tree().quit()
|