参考 mouseMoved()

mouseMoved()

Calls a function when the mouse moves over the element.

Calling myElement.mouseMoved(false) disables the function.

示例

语法

mouseMoved(fxn)

参数

fxn
Function|Boolean:

function to call when the mouse moves over 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!

相关参考