Is there as way to use the scroll wheel as an input

i wanna have an inventory where the current item changes using your scroll wheel. is this possible?

There is no way sadly, you could use number keys instead