No Revisions Have Been Made To This Page
Can you suggest an edit for this page? Click Here
GML Code Example
With this function you can poll the window (or tab) state and if
it loses focus the function will return false otherwise it
will return true. In most cases you can simply use the
function to test this, but in some very specific cases (for example
games on Chrome Apps) that function will not trigger, in which case
you should use this function instead.
NOTE: This function is only valid for the HTML5, Windows 8 (JS), and Tizen (JS) modules.