Change the color of the button when enabled

Hi,
How can I change the color of the button when it is pressed or cancelled? I cant find it. Thanks for the helpers !

I am attaching a picture :

someone?

Buttons have styles, each style can use Tint:

image

In addition to that, the entire button has Color and Opacity and a Background Color (bottom of the pic). Is this what you’re looking for?

1 Like

Thank you very much for the reply.
I know this but for some reason nothing from this changes the color of the button when pressed. I mean not in the click itself if you know what I mean.

Try this:
image

3 Likes

It doesn’t help either. I just want to change the color to darker when the button cannot be clicked.

Do you actually disable the button using “Disabled” ? If so, the “Disabled” render state in the properties should work.

If you use some other method, then you need to register a binding (“Bind To 
”) for the button color property, and calculate the appropriate color each frame in that binding callback.

You could try to change “Draw As” to image and see if that helps


1 Like

Thank you!!!

1 Like

thank u a lot, love u.

1 Like