a port of the Processing Visualization Language
Name

mouseOut()

Examples
// Moving the mouse into and out of the canvas

// changes the background color



void setup() {

  size(200,200);

  background(10);

}



void draw() {}



void mouseOver() {

  background(50,80,140);

}



void mouseOut() {

  background(140,50,80);

}
Description The mouseOut() function is called when the mouse pointer leaves a sketch.
Syntax
mouseOut(){ // statements }
Parameters
Usage Web
Related mouseX
mouseY
mouseButton
mousePressed()
mouseReleased()
mouseMoved()
mouseOver()
mouseScrolled()
mouseScroll()
mouseDragged()

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

Creative Commons License
Fork me on GitHub