mouseWheel()
Input / MouseDescription
Called when the mouse wheel moves. The count parameter is positive when scrolled down and negative when scrolled up.
Syntax
void mouseWheel(int count)
Parameters
| Name | Type | Description |
|---|---|---|
| count | int | scroll amount, positive=down, negative=up |
Returns
voidRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...