Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | AcoAlex |
For my 3D game, I want the player to enter houses and when they leave, re-enter the scene from before. To load the scene from before, I want to set a global variable with the folder path of the current scene to load it back with the get_tree().change_scene_to_file('previous_scene')
function.
Solved: I meant the scene_file_path
property that I found now