Change color at the touch of the button just for a moment

When I touch a button I would like it to change color just for a moment and then go back to its original state. How can I fix it?

Hi
There is a setting for button named show feedback that apply a change of color . If you want to customize this changes you need a clock ( set the time you need in milliseconds) and set it disabled.
When you click the button set the new color and enable the clock . In the when event of the clock set disabled the clock and set the old color

1 Like

use touchdown and touchup event

1 Like

true, I had forgotten them :rofl:

Thanks for the suggestions, I solved it