a port of the Processing Visualization Language
Name

mouseY

Examples
void draw()

{

  background(204);

  line(20, mouseY, 80, mouseY);

}
Description The system variable mouseY always contains the current vertical coordinate of the mouse.
Syntax
mouseY
Parameters
Usage Web & Application
Related mouseX
mouseButton
mousePressed()
mouseReleased()
mouseMoved()
mouseDragged()

This reference is licensed under the CC BY-NC-SA 2.0 license:

Creative Commons License
Fork me on GitHub