Add a property to a button

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?

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.

1 Like

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!