I need to make a different scene connect with another

Godot Version

4.2.2

Question

I’m making a space exploration game and it has a spaceship. The spaceships insides are an entirely different scene. I want to make it so that when you exit the spaceship you get put where the spaceship is. How would I do that?

To help you we need more information. What exactly do you want to do?

1 Like

I want to make it so that I exit the ship scene and end up in the same place as the ship object

I think it glitched and didn’t show the information I showed

easiest way is to create a global script (autoload/singleton) that saves this information in a variable and then look up the value of this variable in the new scene

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.