Provides mouse input outside of the game canvas.
window_mouse_x() - x coordinate of mouse relative to the canvas
window_mouse_y() - y coordinate of mouse relative to the canvas
display_mouse_x() - x coordinate of mouse on the browser
display_mouse_y() - y coordinate of mouse on the browser
How To Use
We did used to do this, but the problem is if you do capture input outside of the canvas the whole web page suffers. You can no longer scroll pages on tablets, and some input doesn't go through to the underlying page, which makes it unsuitable for using in a web environment.
EDIT: Also, please note that when using an iframe, I don't believe an iframe can capture any mouse input outside of that frame. (Please do correct me if i'm wrong).
Edited by Schalk, 18 October 2011 - 10:25 AM.