This section deals with the functions related to rooms.

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.

Room Information

The following functions and global variables are used for getting basic information about a room:

Moving Between Rooms

The following functions are used for moving between rooms:

Creating and Changing 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.

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here