Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is there a way to get the mouse in UserInputService?

I use Player:GetMouse() regularly, so because UserInputService can print if the player presses a key, is it possible to get the mouse in UserInputService?

1 comment

0

Why would you? Getting the mouse is the official function for it and it should be used that way.

1 answer

Mouse has been superseded by User Input Service. This means the functionality of the aforementioned Roblox Service is one that is widely accepted than its legacy counterpart.

You are being provided with the full document: https://developer.roblox.com/api-reference/enum/UserInputType

2 comments

0

This is quite a stupid answer. The Mouse has not been superseded except for acquiring input. There are numerous things you can do with the Mouse object that you can't do with the UserInputService.

0

Well Done.

This discussion is preserved as it was. New answers, comments, and votes are closed.