# \[feature\] Vision button component image swap color

**URL:** <https://forum.inductiveautomation.com/t/feature-vision-button-component-image-swap-color/21057>\
**Category:** Ignition Early Access\
**Created:** [November 25, 2018, 6:06pm UTC](https://forum.inductiveautomation.com/t/feature-vision-button-component-image-swap-color/21057 "2018-11-25T18:06:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [November 25, 2018, 6:06pm UTC](https://forum.inductiveautomation.com/t/feature-vision-button-component-image-swap-color/21057/1 "2018-11-25T18:06:10Z")

</div>

For the basic vision button component, when the button is entered, I would like to be able to swap the color of the image. (it’s possible for the text foreground)

A simple swap color filter, as for the image component would be perfect.

Properties to add :

- **Color Swap Filter** : user could active the swap in the mouse enter/exit
- **Swap From**
- **Swap Threshold**
- **Swap To**

Buttons will be more attractive and responsive for the users !

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [December 11, 2018, 10:10pm UTC](https://forum.inductiveautomation.com/t/feature-vision-button-component-image-swap-color/21057/2 "2018-12-11T22:10:42Z")

</div>

Couldn’t you just make two images and use them? Or overlay an image on the button? I don’t think we’re going to go and retrofit the features of the image onto the vision button itself.

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [December 13, 2018, 7:44am UTC](https://forum.inductiveautomation.com/t/feature-vision-button-component-image-swap-color/21057/3 "2018-12-13T07:44:16Z")

</div>

Yes indeed, that’s our current solution, but as we have lots of button…  
and if we make a template with the customized button inside, we have to propagate button event outside the template…and it’s a bit cumbersome.  
Just a nice to have feature, not a must have !
