How do I reference current level for a branch's condition?

I want to switch between two levels with a key press. (There are only two levels in my ‘game’.)

I want to use a branch with the condition “is level A currently open?” - true loads Level B, false loads level A.

Is this possible?

Thanks!

right click → get current level name → pull out the string and type == then type the name of one of the maps

then - > branch → true do nothing ->false open “other map name”

1 Like

Yes! Thanks!