mouse class : Y getter

Description

Gets a y-coordinate of the cursor's position.

Syntax

mouseInstance.Y

Arguments

None.

Return value

ClassDescription
inty-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.

Links for reference

Copyright © Cooker All rights reserved.