Hello, does anyone know a function that detects mouse wheel button down?
I know about those two,
mouse.WheelForward:connect() mouse.WheelBackward:connect()
But is there a function like that ?
mouse.WheelButtonDown:connect()
That page says nothing about it, but it might be outdated... http://wiki.roblox.com/index.php?title=API:Class/Mouse
Thanks.
The page that you have linked can never be outdated. It displays members of a class based on the latest API dump.
You could use UserInputService's InputBegan event, which gives you an InputObject. This instance will allow you to check whether the input was the middle mouse button by checking the UserInputType property. (Associated Enum)
Doesnt return when I press Mouse Button 3, only works for the others...