Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there a way to get the mouse in UserInputService?

Asked by 5 years ago

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?

0
Why would you? Getting the mouse is the official function for it and it should be used that way. Thesquid13 301 — 5y

1 answer

Log in to vote
0
Answered by
NIMI5Q -2
5 years ago
Edited 5 years ago

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

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. DeceptiveCaster 3761 — 5y
0
Well Done. NIMI5Q -2 — 5y
Ad

Answer this question