Get Current Room


This action will return the unique room index value for the current room. You need to supply a target variable to hold the returned value, and this variable can be flagged as a temporary local variable.

Action Syntax:

Get Current Room Syntax


Argument Description
Target The target variable to store the returned room index


Restart Room Example
The above action block code gets the current room index value and then uses a Switch action to check the room and set a global variable depending on the result.