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

AutoButtonColor property is not working does anyone know why?

Asked by 2 years ago

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

Log in to vote
1
Answered by
Puppynniko 1059 Moderation Voter
2 years ago

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."

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? Overseer_Prince 188 — 2y
0
it because the image overlays the frame of the instance Puppynniko 1059 — 2y
Ad

Answer this question