# Accessing vision components from tag event script

**URL:** <https://forum.inductiveautomation.com/t/accessing-vision-components-from-tag-event-script/84381>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [January 17, 2024, 1:48pm UTC](https://forum.inductiveautomation.com/t/accessing-vision-components-from-tag-event-script/84381 "2024-01-17T13:48:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Om33](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@Om33](https://forum.inductiveautomation.com/u/Om33)\
**Post date:** [January 17, 2024, 1:48pm UTC](https://forum.inductiveautomation.com/t/accessing-vision-components-from-tag-event-script/84381/1 "2024-01-17T13:48:47Z")

</div>

Hello,  
I want to take some actions when the value of my tag changes, depending on whether a radio button is selected or not. Since I can not call system.gui... in a tag event script, do you have an idea on how I could realise this task? The tag event script is configured on an UDT that has more than 800 instances.

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [January 17, 2024, 2:12pm UTC](https://forum.inductiveautomation.com/t/accessing-vision-components-from-tag-event-script/84381/2 "2024-01-17T14:12:58Z")

</div>

Bind whatever needs to change to the tag.  
If you need to process the tag's value first, bind it to a custom property, do whatever you need to do, then use that instead.  
You can even use a property change script to trigger things.

---

<div class="post-metadata">

**Author:** ![Om33](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@Om33](https://forum.inductiveautomation.com/u/Om33)\
**Post date:** [January 17, 2024, 2:33pm UTC](https://forum.inductiveautomation.com/t/accessing-vision-components-from-tag-event-script/84381/3 "2024-01-17T14:33:52Z")

</div>

Thank you, turned out that I don't even need that connection between tag changing and radio button 🙂
