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

AutoButtonColor property is not working does anyone know why?

So a lot of you if you have been working with GUI's know about the AutoButtonColor property of a ImageButton

The purpose of this is to change color when a players mouse drags over it

however for some reason I have set it to true yet it is not working

can anyone help me or is this a bug?

1 answer

✓ Accepted answer

did you even read the docs "Please note that this property will not have an effect on an ImageButton if it's ImageButton.Image property is set to an image and is not null. Additionally, the property will not affect an ImageButton element on mouse hover when its ImageButton.HoverImage is not null nor on mouse click if ImageButton.PressedImage is not null."

2 comments

0

Yeah I read it but its so stupid like I mean like do I have to rely on InputBegan now because that property does not work?

0

it because the image overlays the frame of the instance

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