Legacy:GetMouseY

From Spherical
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


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

Usage

number GetMouseY();


Examples

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

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

Notes

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

See also