# In perspective How can i change tag value when i used button

**URL:** <https://forum.inductiveautomation.com/t/in-perspective-how-can-i-change-tag-value-when-i-used-button/95125>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 24, 2024, 11:39pm UTC](https://forum.inductiveautomation.com/t/in-perspective-how-can-i-change-tag-value-when-i-used-button/95125 "2024-08-24T23:39:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![superman8118](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@superman8118](https://forum.inductiveautomation.com/u/superman8118)\
**Post date:** [August 24, 2024, 11:39pm UTC](https://forum.inductiveautomation.com/t/in-perspective-how-can-i-change-tag-value-when-i-used-button/95125/1 "2024-08-24T23:39:59Z")

</div>

hello  
i want to change value on tag using button in perspective

 ![button](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/0/3019a8ab6ff72fc40a5e583f34d9f5775708880b.jpeg)

what the steps please with example

thanks so much my friends

---

<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:** [August 25, 2024, 8:05am UTC](https://forum.inductiveautomation.com/t/in-perspective-how-can-i-change-tag-value-when-i-used-button/95125/2 "2024-08-25T08:05:15Z")

</div>

- Find the tag in Tags Browser.
- Right-click | Copy Path.
- Paste into the Configure Script Action editor. (Indent by one tab.)
- Set `= True` or `False` or to some other property selected by the.Browse Properties button.

---

<div class="post-metadata">

**Author:** ![superman8118](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@superman8118](https://forum.inductiveautomation.com/u/superman8118)\
**Post date:** [August 25, 2024, 3:09pm UTC](https://forum.inductiveautomation.com/t/in-perspective-how-can-i-change-tag-value-when-i-used-button/95125/3 "2024-08-25T15:09:12Z")

</div>

sloved,  
thanks so much

---

<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:** [August 25, 2024, 3:21pm UTC](https://forum.inductiveautomation.com/t/in-perspective-how-can-i-change-tag-value-when-i-used-button/95125/4 "2024-08-25T15:21:41Z")

</div>

> [@Transistor](#):
>
> - Set `= True` or `False` or to some other property selected by the.Browse Properties button.

What ? He'll need `system.tag.writeBlocking` or `writeAsync` to write to tags.  
Or did I misunderstand the question ?

Alternatively, I guess you could make a custom property, put a bidirectional tag binding on it, then write to that property. It's not the usual approach, but it may be better in some cases, like for example you also need to display the tag's value on you page. Without knowing more about your use case, I'll say stick to the `system.tag.write*` functions.

@superman8118  
Use this function:

> **[system.tag.writeBlocking | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-tag/system-tag-writeBlocking)**
>
> Writes values to tags at the given paths.

And go through the inductive university.

---

<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:** [August 25, 2024, 4:28pm UTC](https://forum.inductiveautomation.com/t/in-perspective-how-can-i-change-tag-value-when-i-used-button/95125/5 "2024-08-25T16:28:32Z")

</div>

> [@pascal.fragnoud](#):
>
> What?

Oops. You're right.
