# Configure \[onClick Actions\]

**URL:** <https://forum.inductiveautomation.com/t/configure-onclick-actions/79901>\
**Category:** Ignition\
**Tags:** ignition81, perspective, scripting\
**Created:** [October 1, 2023, 9:27pm UTC](https://forum.inductiveautomation.com/t/configure-onclick-actions/79901 "2023-10-01T21:27:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lgarcia](https://avatars.discourse-cdn.com/v4/letter/l/a87d85/32.png) [@lgarcia](https://forum.inductiveautomation.com/u/lgarcia)\
**Post date:** [October 1, 2023, 9:27pm UTC](https://forum.inductiveautomation.com/t/configure-onclick-actions/79901/1 "2023-10-01T21:27:57Z")

</div>

Hi, I just want to know how can I read tag.value from a Configure [On click Actions] script.  
I'm trying some functions but I'm not sure which one is the right one.  
Please, check the printscreen attached  
Could you type a sample here?  
Regards,  
Leandro

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/4/34a2fe2a3cb8b707080e178de765978281277ca9.png)

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 1, 2023, 9:33pm UTC](https://forum.inductiveautomation.com/t/configure-onclick-actions/79901/2 "2023-10-01T21:33:36Z")

</div>

The manual is fairly clear. Note that for this function you need to supply the tag paths as a **list**.  
Create the list of tags and then call them all in one go. It's much more efficient.

[https://docs.inductiveautomation.com/display/DOC81/system.tag.readBlocking](https://docs.inductiveautomation.com/display/DOC81/system.tag.readBlocking)

You should probably be using the `onActionPerformed` event. There's a slight difference. For example, the `onClick` event is triggered even if the component is disabled.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [October 2, 2023, 12:38am UTC](https://forum.inductiveautomation.com/t/configure-onclick-actions/79901/3 "2023-10-02T00:38:28Z")

</div>

Also please provide your script as a formatted snippet in the future - never a screenshot. Troubleshooting an image should your script need changes never works well.
