Gallery/ok_main.gd
2025-05-03 12:00:38 -06:00

13 lines
332 B
GDScript

extends Node3D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
if Input.is_action_pressed("restart"):
get_tree().reload_current_scene()