How to temporary change a scene?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By LeereNix
:warning: Old Version Published before Godot 3 was released.

How to change a scene and then get back to previous one without losing the progress? As an example, I would like to open a new scene, when character attacks in enemy, like it was in jrpg. After battle end, this scene should close and player get back to the exploring scene. I found only SceneTree.change_scene() function, which just loads a scene from the start.

:bust_in_silhouette: Reply From: Heymi

I think you should see this…
https://forum.godotengine.org/7940/scene-switching-and-returning