# 2 State Toggle Button Perspective Edge

**URL:** <https://forum.inductiveautomation.com/t/2-state-toggle-button-perspective-edge/82536>\
**Category:** Ignition\
**Tags:** perspective, vision\
**Created:** [November 30, 2023, 3:04pm UTC](https://forum.inductiveautomation.com/t/2-state-toggle-button-perspective-edge/82536 "2023-11-30T15:04:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wally\_Long](https://avatars.discourse-cdn.com/v4/letter/w/ac8455/32.png) [@Wally\_Long](https://forum.inductiveautomation.com/u/Wally_Long)\
**Post date:** [November 30, 2023, 3:04pm UTC](https://forum.inductiveautomation.com/t/2-state-toggle-button-perspective-edge/82536/1 "2023-11-30T15:04:17Z")

</div>

I've found some videos on using the 2 state toggle button in Vision, but it's not available in Perspective Edge. I was wondering if anyone knows a way to make the same type of ON / OFF button in Perspective Edge.

---

<div class="post-metadata">

**Author:** ![Hayden\_Watson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hayden_watson/32/48792_2.png) [@Hayden\_Watson](https://forum.inductiveautomation.com/u/Hayden_Watson)\
**Post date:** [November 30, 2023, 3:09pm UTC](https://forum.inductiveautomation.com/t/2-state-toggle-button-perspective-edge/82536/2 "2023-11-30T15:09:25Z")

</div>

If it using a bool value, I like to have a one shot button, value bound to the tag you want to change with Set value bound to `not self.props.value`

---

<div class="post-metadata">

**Author:** ![Wally\_Long](https://avatars.discourse-cdn.com/v4/letter/w/ac8455/32.png) [@Wally\_Long](https://forum.inductiveautomation.com/u/Wally_Long)\
**Post date:** [November 30, 2023, 8:10pm UTC](https://forum.inductiveautomation.com/t/2-state-toggle-button-perspective-edge/82536/3 "2023-11-30T20:10:38Z")

</div>

That works great. The text and background mapping took a minute, but it was just what I was looking for. Thanks.
