# Add a property to a button

**URL:** <https://forum.realdash.net/t/add-a-property-to-a-button/8104>\
**Category:** Feature requests\
**Created:** [April 17, 2025, 4:45pm UTC](https://forum.realdash.net/t/add-a-property-to-a-button/8104 "2025-04-17T16:45:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CoTECH](https://forum.realdash.net/user_avatar/forum.realdash.net/cotech/32/8_2.png) [@CoTECH](https://forum.realdash.net/u/CoTECH)\
**Post date:** [April 17, 2025, 4:45pm UTC](https://forum.realdash.net/t/add-a-property-to-a-button/8104/1 "2025-04-17T16:45:52Z")

</div>

Is it possible to add the “the time after which the button will no longer work” property to the button? This is necessary if we are doing two events on one physical button: a long press and a short press. A short-press action will always work, but it would be useful if the short button didn’t work after a set time. Is it possible to add such a property?

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [April 23, 2025, 5:32am UTC](https://forum.realdash.net/t/add-a-property-to-a-button/8104/2 "2025-04-23T05:32:12Z")

</div>

Currently this can be achieved with starting a timer when button is held down. I have to think if this would be worth of new option to have built-in system for short and long press.

---

<div class="post-metadata">

**Author:** ![CoTECH](https://forum.realdash.net/user_avatar/forum.realdash.net/cotech/32/8_2.png) [@CoTECH](https://forum.realdash.net/u/CoTECH)\
**Post date:** [April 25, 2025, 6:28am UTC](https://forum.realdash.net/t/add-a-property-to-a-button/8104/3 "2025-04-25T06:28:54Z")

</div>

Thanks for the explanation. What should such a trigger look like? Can you give me an example, please? Because I didn’t find the action :“Canceling a button click.” It looks a bit difficult to implement. Can you still implement a long press? It is also possible to add a double tap as a condition. So one button is 3 actions!
