# Question about Icon visibility in a Change Script

**URL:** <https://forum.inductiveautomation.com/t/question-about-icon-visibility-in-a-change-script/70472>\
**Category:** Ignition\
**Created:** [March 1, 2023, 1:29pm UTC](https://forum.inductiveautomation.com/t/question-about-icon-visibility-in-a-change-script/70472 "2023-03-01T13:29:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lisa](https://avatars.discourse-cdn.com/v4/letter/l/f08c70/32.png) [@Lisa](https://forum.inductiveautomation.com/u/Lisa)\
**Post date:** [March 1, 2023, 1:29pm UTC](https://forum.inductiveautomation.com/t/question-about-icon-visibility-in-a-change-script/70472/1 "2023-03-01T13:29:53Z")

</div>

I am working on a project to show the status of assembly lines, whether they're scheduled or not. I have the tag set up properly and the text is showing "true" when it's scheduled and "false" when it isn't. I am trying to set up an icon to appear depending on the status. (toggle\_on for scheduled, toggle\_off for unscheduled). Here is the change script that I've written:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/7/b7aac20372132a94086d11ac625c2f30b00ecac5.png)

I can't get the visibility on the icons to work correctly, so I know I must be doing something wrong. Any suggestions?

---

<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 1, 2023, 1:41pm UTC](https://forum.inductiveautomation.com/t/question-about-icon-visibility-in-a-change-script/70472/2 "2023-03-01T13:41:47Z")

</div>

Why would you do it this way, instead of binding the tag directly to the visibility prop?

Is the tag a Boolean tag?

---

<div class="post-metadata">

**Author:** ![Lisa](https://avatars.discourse-cdn.com/v4/letter/l/f08c70/32.png) [@Lisa](https://forum.inductiveautomation.com/u/Lisa)\
**Post date:** [March 1, 2023, 1:46pm UTC](https://forum.inductiveautomation.com/t/question-about-icon-visibility-in-a-change-script/70472/3 "2023-03-01T13:46:12Z")

</div>

I'm new to Ignition, this project is me teaching myself how to do it. I have some help here in my office, but we're the only ones.

I didn't even know I could bind it directly to that prop! I'll try that and see if it works.

---

<div class="post-metadata">

**Author:** ![Lisa](https://avatars.discourse-cdn.com/v4/letter/l/f08c70/32.png) [@Lisa](https://forum.inductiveautomation.com/u/Lisa)\
**Post date:** [March 1, 2023, 1:49pm UTC](https://forum.inductiveautomation.com/t/question-about-icon-visibility-in-a-change-script/70472/4 "2023-03-01T13:49:28Z")

</div>

Irose, thank you so much! I just got it to work.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 1, 2023, 1:54pm UTC](https://forum.inductiveautomation.com/t/question-about-icon-visibility-in-a-change-script/70472/5 "2023-03-01T13:54:29Z")

</div>

> [@Lisa](#):
>
> I'm new to Ignition

You really should look at the _ **free** _ [Inductive University training](https://www.inductiveuniversity.com/). It will help you pick up the basic techniques in the platform much better than just stumbling through your own experiments.
