How do I make a GUI appear when you hover your mouse on a GUI

So when you hover over the Gui it appears and when you don’t it disappears, how would I do that?

MouseLeave and MouseMoved events of TextButton

Example:

local TextButton = script.Parent

TextButton.MouseMoved:Connect(function()
   print("MouseMoved")
end)

TextButton.MouseLeave:Connect(function()
   print("MouseLeave")
end)
1 Like

Something like this

script.Parent.MouseEnter:Connect(function()

script.Parent.Visible = true

end)

script.Parent.MouseLeave:Connect(function()

script.Parent.Visible = false

end)

I never really use it so i might be wrong

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.