# Display Status of Boolean Tag

**URL:** <https://forum.inductiveautomation.com/t/display-status-of-boolean-tag/56930>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 7, 2022, 8:44pm UTC](https://forum.inductiveautomation.com/t/display-status-of-boolean-tag/56930 "2022-03-07T20:44:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Parker](https://avatars.discourse-cdn.com/v4/letter/d/f07891/32.png) [@Daniel\_Parker](https://forum.inductiveautomation.com/u/Daniel_Parker)\
**Post date:** [March 7, 2022, 8:44pm UTC](https://forum.inductiveautomation.com/t/display-status-of-boolean-tag/56930/1 "2022-03-07T20:44:02Z")

</div>

What is the best way to display the status of a boolean tag?  
Think of it as a diagnostic screen for a digital input module on a PLC. I’m looking for a shape to change color from gray at value 0 or false to yellow at value 1 or true.  
Apologies if this has been discussed before but I’ve been searching for days and can’t find the answer.

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [March 7, 2022, 9:27pm UTC](https://forum.inductiveautomation.com/t/display-status-of-boolean-tag/56930/2 "2022-03-07T21:27:46Z")

</div>

I’m away from the computer so can’t give a more detailed solution, however it basically looks like this.

1. Configure a tag binding on property which controls the fill color you want to change.
2. Add a map transform to the binding, mapping true to your true color, and false to your false color.

This works best if you use CSS variables or style classes but can work with hard coded colors as well.

---

<div class="post-metadata">

**Author:** ![Daniel\_Parker](https://avatars.discourse-cdn.com/v4/letter/d/f07891/32.png) [@Daniel\_Parker](https://forum.inductiveautomation.com/u/Daniel_Parker)\
**Post date:** [March 7, 2022, 9:43pm UTC](https://forum.inductiveautomation.com/t/display-status-of-boolean-tag/56930/3 "2022-03-07T21:43:38Z")

</div>

That worked perfectly, thank you!
