mouseWheel()

Example

Syntax

def mouseWheel([event]):
    # do stuff
    # work with event with property delta, like event.delta
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