Language \ Environment \ Libraries \ Comparison  
   
Back  
   
  If you see any errors or have any comments, let us know.  
Class   Gainer
   
Name  

buttonPressed

   
Examples  
// exsample button
import processing.gainer.*;

Gainer gainer;
void setup(){
  gainer = new Gainer(this);
}

void draw(){
  background(0);
  if(gainer.buttonPressed){
    background(255);
  }
}



Description   Processing automatically tracks if the gainer button is pressed.
   
Usage   Application
   
Related   gainerButtonEvent()
 
 






   
 
Updated:??
 
 








Creative Commons License
 
  Processing is an open project initiated by Ben Fry and Casey Reas  
  © Info