mouse class : Y getter
Description
Gets a y-coordinate of the cursor's position.
Syntax
mouseInstance.Y
Arguments
None.
Return value
Class | Description |
int | y-coordinate of the cursor's position. |
Sample code
1: | mouse m = new mouse(); |
2: | int y = m.Y; |
Notes
Return value is a y-coordinate of the screen coordinates.
The unit is physical pixels.