# On Mouse Button Double Click Bug

**URL:** <https://forums.unrealengine.com/t/on-mouse-button-double-click-bug/403092>\
**Category:** UI\
**Tags:** button, bug, reproducible-bug, unreal-engine, question\
**Created:** [August 28, 2017, 3:54pm UTC](https://forums.unrealengine.com/t/on-mouse-button-double-click-bug/403092 "2017-08-28T15:54:18Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![anonymous\_user\_136e418c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_136e418c](https://forums.unrealengine.com/u/anonymous_user_136e418c)\
**Post date:** [June 20, 2019, 1:32pm UTC](https://forums.unrealengine.com/t/on-mouse-button-double-click-bug/403092/21 "2019-06-20T13:32:17Z")

</div>

Here’s a solution for that issue. We can just manually implement the double click action based on the “On Clicked” Event for the button.

 ![280208-doubleclick.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/9/2/69216d33590bc9e337ba68c8403ad5501ddbf1d4.png)

The IsClicked is just a boolean variable indicating whether you have done a click before, it is set to false by default and the ResetIsClick is just a function which sets IsClicked to false. The important thing here is that you have to set a time in SetTimerByFunctionName that makes you feel like a button it is double clicked, to me 0.3 second seems okay.

---

_[View the full topic](https://forums.unrealengine.com/t/on-mouse-button-double-click-bug/403092)._
