natiny.input.get_mouse_y_speed
natiny.input.get_mouse_y_speed() -> delta_y
Returns the vertical movement delta of the mouse cursor since the previous frame.
Returns
| Type | Description |
|---|---|
number |
Vertical movement in drawing units since the previous frame |
Example
local dy = natiny.input.get_mouse_y_speed()