ImageButton.HoverImageColor3

As a Roblox developer, it is currently too hard to have nice-looking hoverable ImageButtons. The process is slightly easier with the addition of the HoverImage property, but the inconvenience arises when you want to use the exact same image on hover, just slightly darker.

My proposition is another property added to ImageButtons, HoverImageColor3;

It would work the same way regular ImageColor3 works, but applied to the HoverImage.

This would allow us to easily use the same image (less assets for the user to download), with just a simple Color change on hover.

…

Yes, this could be coded into any game quite easily, using UserInputService, or MouseEnter and MouseLeave events on the ImageButtons, however it would be very inconvenient and you would need to make a decently complex handler to automatically support all ImageButtons in your game.

13 Likes

Given that this exists for the background of an image button, it seems reasonable that this should exist for the image of ImageButtons too.

2 Likes

ImageColor3 exists, but he wants is a separate color for when the button is hovered. However, adding this would break how all ImageButtons look currently. I simulated what this would look like:

ImageColor3: Blue
HoverImageColor3: White (default)

You can very easily add this feature yourself, though. That way, it wouldn’t break every game that uses tinted ImageButtons… :sweat_smile:

And with the addition of collection service and attributes it would be pretty simple.

I know what he wants.

It won’t break every game if it is disabled/set to white by default.

1 Like

Responding to a 6 year old feature request with 0 replies is crazy :joy::joy:

Anyway this is completely useless, it takes barely any lines of code to do already and there’s no need for Roblox to intergrate it directly into the engine.

Also,

This is not true. All GuiButtons by default darken their BackgroundColor3, but you cannot change the colour that it changes to. (which is what this feature request is asking for)

1 Like