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

Mouse hover over (brick)?

Asked by 8 years ago
Any functions that detect when the mouse hovers over a **BRICK**?  I know it's possible with a gui, but is it possible with a brick?  If so, what is the function?

1 answer

Log in to vote
0
Answered by 8 years ago

Ever heard about ClickDetectors?

local CD = script.Parent:WaitForChild("ClickDetector")

CD.MouseHoverEnter:connect(function(Plr) -- Plr is the Player who hovered over the Part.
    -- Do stuff.
end)

http://wiki.roblox.com/index.php?title=API:Class/ClickDetector/MouseHoverEnter

You are welcome,

Manchester1002

Ad

Answer this question