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

How do i make a gui button react when a mouse is hovering over it?

Let's just say i need the button to become a little darker while the mouse is hovering over it, just so it seems like a button more, how do i do that?

1 answer

✓ Accepted answer
script.Parent.MouseEnter:Connect(function()
	script.Parent.BackgroundColor3 = Color3.new(0,0,0)
end)

3 comments

0

do MouseLeave for when the players mouse leave the object

0

Text buttons do have an automatic one if you like that, not imagebuttons though

0

I need it on an imagebutton so your answer worked perfectly, thanks!

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