# Button Background

**URL:** <https://forum.inductiveautomation.com/t/button-background/6160>\
**Category:** Ignition\
**Created:** [April 4, 2013, 6:17pm UTC](https://forum.inductiveautomation.com/t/button-background/6160 "2013-04-04T18:17:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinmarchand](https://avatars.discourse-cdn.com/v4/letter/k/439d5e/32.png) [@kevinmarchand](https://forum.inductiveautomation.com/u/kevinmarchand)\
**Post date:** [April 4, 2013, 6:17pm UTC](https://forum.inductiveautomation.com/t/button-background/6160/1 "2013-04-04T18:17:36Z")

</div>

Can you change the background color of a button when press to acknowledge the action?

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [April 4, 2013, 6:30pm UTC](https://forum.inductiveautomation.com/t/button-background/6160/2 "2013-04-04T18:30:06Z")

</div>

Yes the background color is just a property and can be bound or changed through scripting. I think what you want to do is on a mousePressed event (script) set the background to one color and then on mouseReleased set it back?
