Home Cooker Classes Others Rice CookerGX
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

//mouseInstance is an any instance of mouse type.

int y = mouseInstance.Y;

Notes

Return value is a y-coordinate of the screen coordinates.

Links for reference

Copyright © Rice All rights reserved.