Reference mouseOut()

mouseOut()

Calls a function when the mouse moves off the element.

Calling myElement.mouseOut(false) disables the function.

Examples

Syntax

mouseOut(fxn)

Parameters

fxn

function to call when the mouse moves off the element. false disables the function.

Notice any errors or typos? Please let us know. Please feel free to edit src/core/p5.Element.js and open a pull request!

Related References