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