# Button color trouble

**URL:** <https://forum.kirupa.com/t/button-color-trouble/283008>\
**Category:** Uncategorized\
**Created:** [March 1, 2009, 9:49am UTC](https://forum.kirupa.com/t/button-color-trouble/283008 "2009-03-01T09:49:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcsgirl](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@marcsgirl](https://forum.kirupa.com/u/marcsgirl)\
**Post date:** [March 1, 2009, 9:49am UTC](https://forum.kirupa.com/t/button-color-trouble/283008/1 "2009-03-01T09:49:21Z")

</div>

Hi all,

I would be very grateful if you could help me with this one:

I need to make my custom buttons change color on press or on release (for this part there is a tute right here on kirupa, I know :-)), **but then change the color back to the original color when another button on the menu bar is pressed**. How to solve this one? Through some sort of global variable, through if/ then and enable, or…?

Help!!! And thanks \*\*a lot \*\*in advance!!!
