mouseDY
Input / MouseDescription
Accumulated vertical mouse delta since the last frame. Updated on every raw cursor event, reset to 0 after draw(). Use this instead of mouseY-pmouseY for high-frequency input like FPS camera control.
Syntax
mouseDY
Parameters
None
Returns
floatRelated
Under the Hood
From Processing.h:
float mouseDX = 0, mouseDY = 0;
Under the Hood
From Processing.cpp:
mouseDY = 0;
mouseDY=0;