Get Current Room

Hello,

What's the best way to get the name of the current room in PulpScript? I'm making a main menu right now and I'd like to hide the player only if the current room is the 'Main Menu'. Thanks in advance!

event.room will contain the name of the current room.

if event.room == "Main Menu" then

1 Like

That worked, thank you!