Home Notices Documents Classes Download Others Rice
Classes  >  mouse  >  Y
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.

Links for reference

Copyright © Rice All rights reserved.