How do I make the scene transitions more accurate?

So at the beginning of the scene the player falls from the sky. Then the player can move to the left and the scene will change.https://snaptube.cam/ The problem is when the player is in the 2nd scene and wants to go back to the original scene, I want to make it so the player will come in from the left when that happens but I don’t know how to make that happen and the player just falls from the sky again.

You need to use a global variable to know if the player saw the second scene, and to change the starting position of the player.