Animating a buttons look once pressed

I am looking to have the color of a button change when it is pressed and then when it is depressed, change back.

An example of this is if you click and hold your mouse on the button, the button would get a little darker, (simulating that it is depressed) and when you let the mouse button go, would revert back to the original color.

Any help would be appreciated!

J

Hi @Socrademy, it’s really simple.

  1. Select the button you would like to edit
  2. Go in the editor menu
  3. Click on the little arrow next to States
  4. Select Pressed
  5. Edit the button’s style as you want it to appear when pressed! It will default back to None when “depressed”

1 Like