# Can ui-button respond to double-click

**URL:** <https://discourse.nodered.org/t/can-ui-button-respond-to-double-click/50783>\
**Category:** Dashboard\
**Created:** [9 September 2021 00:11 UTC](https://discourse.nodered.org/t/can-ui-button-respond-to-double-click/50783 "2021-09-09T00:11:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Gunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gunner/32/43582_2.png) [@Gunner](https://discourse.nodered.org/u/Gunner)\
**Post date:** [9 September 2021 02:33 UTC](https://discourse.nodered.org/t/can-ui-button-respond-to-double-click/50783/2 "2021-09-09T02:33:53Z")

</div>

Welcome to the forum. Please remember there is a search function here.

These are current topics about similar queries

> [@How to detect multiple presses on a single button](https://discourse.nodered.org/t/how-to-detect-multiple-presses-on-a-single-button/20560):
>
> With reference to this thread: [Single button multiple presses](https://discourse.nodered.org/t/single-button-multiple-press-options/20559) Have you ever wanted to allow multiple presses from a button do multiple things? This flow allows that. One "problem" the use of a flow. variable. If you are going to use multiple versions on the one flow, you need to edit the name used in the flow.set node and the count presses node. Oh, and you will/may need to install this node: node-red-contrib-counter [{"id":"47f8333.7595f4c","type…

> [@MQTT - Single button press - multiple different actions (in order/sequence)](https://discourse.nodered.org/t/mqtt-single-button-press-multiple-different-actions-in-order-sequence/50125):
>
> Hi all, I'm using Node-RED with HomeAssistant and have a few different automation's up and running (fairly new to it), however I am getting stuck with one requirement in particular and multiple Google searches over the past few days aren't helping me. I want a single button press to change some LED colours as follows: Press the button once, lights change to blue Press the button again, lights change to red Press the button again, lights change to green Press the button again, lights change t…

There might be some function code or some other hints that will help guide you to what you need.

---

_[View the full topic](https://discourse.nodered.org/t/can-ui-button-respond-to-double-click/50783)._
