method
Input.wheel
Input.wheel() -> int
The scroll-wheel delta accumulated this frame — positive up, negative down, 0 when the wheel did not move. A per-frame delta, reset each Input.poll.
Example
program Demo {
entry {
Input.set_mouse(0, 0, 0, 3)
Input.poll()
print(Input.wheel())
}
}