Get Current RoomThis 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.

| Argument | Description |
|---|---|
| Target | The target variable to store the returned room index |
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.