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

how do i get mouse data from a UserInputService thingy?

Asked by 4 years ago
game:GetService("UserInputService").InputChanged:Connect(function(input, process)
    if input.UserInputType == Enum.UserInputType.MouseMovement then
         -- i want to get the mouse(hit) without using :GetMouse() cus i lazy 
    end
end)

how do i get mouse(hit)???

ps: without using :GetMouse()

Answer this question