# Held Button Scripts

**URL:** <https://forum.inductiveautomation.com/t/held-button-scripts/110180>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [August 26, 2025, 5:08pm UTC](https://forum.inductiveautomation.com/t/held-button-scripts/110180 "2025-08-26T17:08:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![carter.doud](https://avatars.discourse-cdn.com/v4/letter/c/ed8c4c/32.png) [@carter.doud](https://forum.inductiveautomation.com/u/carter.doud)\
**Post date:** [August 26, 2025, 5:08pm UTC](https://forum.inductiveautomation.com/t/held-button-scripts/110180/1 "2025-08-26T17:08:26Z")

</div>

I would like to make a button that only activates if it is held down for a couple seconds, is there any way to do this?

---

<div class="post-metadata">

**Author:** ![Ryan\_Deardorff](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan_deardorff/32/63815_2.png) [@Ryan\_Deardorff](https://forum.inductiveautomation.com/u/Ryan_Deardorff)\
**Post date:** [August 26, 2025, 5:09pm UTC](https://forum.inductiveautomation.com/t/held-button-scripts/110180/2 "2025-08-26T17:09:01Z")

</div>

Perspective or Vision?

---

<div class="post-metadata">

**Author:** ![carter.doud](https://avatars.discourse-cdn.com/v4/letter/c/ed8c4c/32.png) [@carter.doud](https://forum.inductiveautomation.com/u/carter.doud)\
**Post date:** [August 26, 2025, 5:10pm UTC](https://forum.inductiveautomation.com/t/held-button-scripts/110180/3 "2025-08-26T17:10:31Z")

</div>

sorry, vision

---

<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:** [August 26, 2025, 5:29pm UTC](https://forum.inductiveautomation.com/t/held-button-scripts/110180/4 "2025-08-26T17:29:50Z")

</div>

Not out of the box. Be aware that it can be difficult to ensure button **release** is handled properly. (See many discussions of momentary button calamities and confusion.)

You should consider some **other** means to achieve your underlying requirement.

---

<div class="post-metadata">

**Author:** ![carter.doud](https://avatars.discourse-cdn.com/v4/letter/c/ed8c4c/32.png) [@carter.doud](https://forum.inductiveautomation.com/u/carter.doud)\
**Post date:** [August 26, 2025, 8:49pm UTC](https://forum.inductiveautomation.com/t/held-button-scripts/110180/5 "2025-08-26T20:49:37Z")

</div>

ok, thank you!
