#How to detect mouse wheel movement
30 messages · Page 1 of 1 (latest)
Thanks
Mostly as you can’t “hold” it, if you scroll it then every scroll counts as 1 click
Inside the input you will also find the y of the movement (I believe it’s either -1 or 1 depending on wether you scroll up/down
Also im getting this:
Players.ScottyRus.PlayerGui.Phone.Phone:22: attempt to compare number < Vector3
From this:
if input.Delta > 0 then
input.Delta may be a vector3
I believe it’s the Y axis that changes when scrolling
Ok thanks
You can just add a quick
print(input.Delta) to check wether it’s y or z
Can you convert that clip to an mp4?
sure
Else I will have to download it to see it
** You are now Level 4! **
Else if that doesn’t work then there’s also the mouse library.
With that you will get the MouseForwards/Backwards evenrs
Yeah it’s odd, I remember needing it a tad ago
Just forgot that it was .Position
it works thanks
Which is odd as you technically take a delta, not a position