mouseY

Input / Mouse

Description

The system variable mouseY always contains the current vertical position of the mouse.

Syntax

mouseY

Parameters

None

Returns

float

Related

Under the Hood

From Processing.h:

float mouseX = 0, mouseY = 0, pmouseX = 0, pmouseY = 0;