Language \ Environment \ Comparison
 
Index
 
  The Processing 1.0 _ALPHA_ Reference is a work in progress.
If you see any errors or have any comments, please write to: reas at groupc.net
Name  

pmouseY

   
Examples  
// Move the mouse quickly to see the difference 
// between the current and previous position 
void loop() 
{ 
  background(204); 
  line(20, mouseY, 80, pmouseY); 
} 
Description   The system variable pmouseY always contains the previous vertical coordinate of the mouse. This is the vertical position of the mouse in the frame previous to the current frame.
   
Syntax  
pmouseY
   
Usage   Web & Application
   
Related   mouseX
mouseY
pmouseX
mousePressed
mousePressed()
mouseReleased()
mouseMoved()
mouseDragged()
   
© 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea
Processing is an open project initiated by Ben Fry and Casey Reas