Set whether the GameMaker: Studio game should get input or the browser.


GML Code Example


Returns: N/A


With this function you can set whether the browser window should capture all input (set it to false) or whether the game should capture the input (set it to true). Note that this function is for use with the HTML5 module only.


GML Code Example


The above code sets the game to capture al browser input on the HTML5 target platform.

Back: HTML5

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