Blueprint effecting multiple levels

So i want to create a game with two levels that are “connected” via a teleporter (simple load level actor blueprint) so the player can solve puzzles, simple example shown here with a ramp that is only in the correct orientation in the red level

My question is how can i make a blueprint/even that can effect both levels. For example how would i go about creating a door that when i open it, it also opens in the other level, that way i can create shortcuts and different ways the player can interact with the level.

You can do that in the game instance BP. It persists.
And when you open the other level you can fire an event which checks if there is an update or your BP cast to the Game instance BP to check which state they have.

Let’s say in the game instance BP is a boolean variable called “doorOpen?” and your door BP will check if that is true or false and behave differently.

Hey there, it kind of depends on you are doing the level loading. If you loading the level instances on the same world using level atreaming, then you just keep state of things in your character. If you go to other levels with open level yhen you need to use the gameinstance to store that information, because it persists throughout the entire application lifetime.

Thanks! I just cast to game instance from level blueprint to check for the variable and it worked.