From Spherical
Revision as of 12:30, 8 September 2013 by Flying Jester (talk | contribs) (Fixed link to GetMouseX in "See Also")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the Y coordinate of the pixel the mouse is currently over in the game window or (in fullscreen) screen.


number GetMouseY();


Color the pixel on the screen that the mouse is currently on:

var Red = CreateColor(255, 0, 0, 255);
Point(GetMouseX(), GetMouseY(), Red);


Mouse coordinates will not be tracked when the mouse is out of the window.

See also