Rooms in GameMaker: Studio are where everything happens
in your game and you must have at least one room in any game for it
to run, but in general you will need many more. This section has
all the GML functions related to rooms and getting information
about them or even setting certain properties within them. It
should be noted that those functions related to changing room
properties should never be run from within the room that you
wish to change, but rather be run from an instance in another room
first.
The following functions and global variables are used for getting basic information about a room:
The following functions are used for moving between rooms:
The following functions are used for creating rooms and changing
room properties:
NOTE: These functions cannot be used with the current
room otherwise errors and unpredictable behaviours can
occur.