#scene transition error, help
3 messages · Page 1 of 1 (latest)
get_tree()change_scene_to_file("res://main.tscn")
if you start with a literal directly after a closing bracket - that can't be correct
change_scene_to_file is a function of the tree you get via get_tree() - so the correct way of calling the function is like this:
get_tree().change_scene_to_file("res://main.tscn")
lemme try