add input.get_mouse_scroll()

This commit is contained in:
dagger 2026-09-01 20:11:31 +07:00
parent 6b915b33a4
commit c83a73102e
3 changed files with 18 additions and 0 deletions

View file

@ -63,6 +63,13 @@ input.get_mouse_delta() --> {int, int}
Returns cursor movement delta.
```lua
input.get_mouse_scroll() --> int
```
Returns the vertical mouse wheel offset accumulated during the current frame.
A positive value indicates scrolling up; a negative value indicates scrolling down.
```lua
input.get_bindings() --> strings array
```