Usage
Syntax: mousescreeny
Returns a number.
Explanation
mousescreeny returns the coordinate where the mouse is located at on the y-axis. It will give a coordinate based on the screen layer, where coordinates range from 0-screenheight, where screenheight is the height of your graal control window. If you want the y coordinate for the mouse on the tile layer, you would have to use the mousey variable.
Example
//#CLIENTSIDE function onCreated() { player.chat = "My mouse is at y screen coordinate: "@ mousescreeny; }
... Would change my player's chat into "My mouse is at y screen coordinate: 341" if my mouse were at y 341 on the screen layer.
Categories
CategoryBuiltInVariable