How to make exit button go to correct level that player was on before with one scene for settings

I have added a settings/scene for all 4 levels I have for my game. Do I need these settings for all 4 levels?

Well, I need it for the X to go back to the level the player was in. If I used 1 scene or used an external layout for the exit button, it won’t go back to level the player was in. Is there a way to make the exit button go to the correct level the player was in with using 1 scene for settings?

If the settings scene is the same throughout the game (i.e. the same for each level), then you can use the pause scene from the game level scene, and the go back to previous scene from the settings scene.

From game level scene:

image


From the settings scene:

image