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

Is there a way to detect a players cursor hovering over a gui?

i want to make a text appear to a person when there cursor hovers over a gui is that possible?

thx

1 comment

0

*Just over a basic text button

1 answer

✓ Accepted answer
local guiElement = script.Parent -- path of the UI element
guiElement.MouseEnter:Connect(function() -- event that fires when the local mouse enters
	print("Player's mouse entered this UI element.") -- do whatever
end)

This should work. This is really simple so I don't really think there is a need for explaining. ~Dan_PanMan, advanced scripter.

1 comment

0

Thank you @Dan_PanMan

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