mouseWheel()

Example

When the mouse wheel is scrolled

Syntax

Full Code Example

Description

This function is called any time a vertical mouse wheel event is detected, either triggered by rolling an actual mouse wheel or by a touchpad.

Find these documents helpful? Let the people who made them help your child learn to code at Strivemath!

We'd love to hear your Feedback/Comments here.

Last updated