Action.onScroll

Sets the function that is executed when the mouse is scrolled
The function has two arguments
The first argument is mouse wheel direction
The second argument is this action itself
overload 1:
Action:onScroll(scrollFunction)
Method Property Fluent Description Representation
scrollFunction accepts a function that takes a Number and an Action and will return anything
Return Value an Action
a a