extends Node3D
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
@warning_ignore("unused_parameter")
func _process(delta):
if Input.action_just_pressed("pause the game"):
menu_return()
func menu_return():
get_tree().change_scene_to_file("res://menu_garf.tscn")
errors:
Line 13:Static function “action_just_pressed()” not found in base “Input”.