Add way to query Mouse Button state to UserInputService

Reading the docs it is not clear to me if there is an elegant way to test if MouseButton1 is down inside of a mouse move event short of tracking the state myself with the MB down and up events (which are also fired by game controllers, thanks)

Literally every button is here except the one I want:


Allowing this to accept Enum.UserInputType.MouseButton1 would be good

It would be better if it had it’s own function since IsKeyDown strongly implies a key.

1 Like

Same thing with the mouse’s position. It’d be great if there were a way to query that with UIS without hooking into events.