Sets the caption of the window.


GML Code Example


Argument Description
caption The new caption.



With this function you can change or set the windows caption for the room that you are currently in. This caption appears at the top of the window, beside the game icon, when the game is not in full screen mode.

NOTE: This function is for the Pro version of GameMaker: Studio only..


GML Code Example

if window_get_caption() != ""

The above code will check the windows caption to see if it has text or not, and if it does it sets it to an empty string so as no caption is displayed.

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