If I scroll using my mouse wheel, how can I detect it? Plus, how can I detect how much I scrolled?
I don’t know what else to say here, since this is such is a simple question , so if you need more info then please let me know.
If I scroll using my mouse wheel, how can I detect it? Plus, how can I detect how much I scrolled?
I don’t know what else to say here, since this is such is a simple question , so if you need more info then please let me know.
There are signals for this.
You could also use UserInputService
if you would like.
UserInputService.InputChanged:Connect(function(input)
if (input.UserInputType == Enum.UserInputType.MouseWheel) then
print("mouse scrolling!!!!")
end
end)
How would I detect what direction the scroll is in?