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

Detect when a players mouse moves?

Asked by 7 years ago

l'm trying to make it so that when a player hovers over a part a gui pops up, i can make the gui pop up but i dont know how to detect when a players mouse moves, i accept any help i can get please help!

0
what the AdvancedCode 136 — 7y
0
Way to steal my name. AdvancedCode 136 — 7y

1 answer

Log in to vote
4
Answered by 7 years ago

http://wiki.roblox.com/index.php?title=API:Class/Mouse/Move, try using that but here is what you do

player = game.Players.LocalPlayer
mouse = player:GetMouse()

mouse.Move:connect(function()

end)

Hope this helped!

Ad

Answer this question