switch scenes godot code example Example: changing scenes in godot get_tree().change_scene("res://pathtoscene")