# Left mouse button input action works only when doubleclick

**URL:** <https://forums.unrealengine.com/t/left-mouse-button-input-action-works-only-when-doubleclick/373223>\
**Category:** UI\
**Tags:** hud, unreal-engine, action-mappings, question\
**Created:** [October 13, 2016, 12:50pm UTC](https://forums.unrealengine.com/t/left-mouse-button-input-action-works-only-when-doubleclick/373223 "2016-10-13T12:50:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ozanatmar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ozanatmar](https://forums.unrealengine.com/u/ozanatmar)\
**Post date:** [October 13, 2016, 12:50pm UTC](https://forums.unrealengine.com/t/left-mouse-button-input-action-works-only-when-doubleclick/373223/1 "2016-10-13T12:50:49Z")

</div>

Hello everyone,

This is my character BP:

![110656-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/1/f/41f33556169d7ae3361b21b58962e0a78e4c6ced.png)

And this is my HUD:

 ![110657-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/9/5e9fa8f05eb908aecb366e9a610d921ce360abe4.png)

It says ‘true’ only when i double click. Releasing has no problem.

Does anyone know what is the reason of that?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![ozanatmar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ozanatmar](https://forums.unrealengine.com/u/ozanatmar)\
**Post date:** [October 13, 2016, 1:00pm UTC](https://forums.unrealengine.com/t/left-mouse-button-input-action-works-only-when-doubleclick/373223/2 "2016-10-13T13:00:52Z")

</div>

EDIT: When i use Print String Node in Character BP, it works. But i want to use it in HUD!

---

<div class="post-metadata">

**Author:** ![ozanatmar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ozanatmar](https://forums.unrealengine.com/u/ozanatmar)\
**Post date:** [October 13, 2016, 1:21pm UTC](https://forums.unrealengine.com/t/left-mouse-button-input-action-works-only-when-doubleclick/373223/3 "2016-10-13T13:21:09Z")

</div>

OK, I solved it.  
In the HUD BP, I’ve overrided “On Mouse Button Down” function as below;

 ![110658-3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/9/d69d1eea8ce56dd97c0ba226b4ad026871137fa6.png)

Now realized that the “Detect Drag if Pressed” does something and prevents me from getting “True” from left mouse button in first click. So I deleted it and now I got what I want.

---

<div class="post-metadata">

**Author:** ![Alara](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alara](https://forums.unrealengine.com/u/Alara)\
**Post date:** [January 13, 2017, 7:06pm UTC](https://forums.unrealengine.com/t/left-mouse-button-input-action-works-only-when-doubleclick/373223/4 "2017-01-13T19:06:39Z")

</div>

Thank you, that was helpful! 😃

---

<div class="post-metadata">

**Author:** ![Merrick](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Merrick](https://forums.unrealengine.com/u/Merrick)\
**Post date:** [November 3, 2017, 4:39am UTC](https://forums.unrealengine.com/t/left-mouse-button-input-action-works-only-when-doubleclick/373223/5 "2017-11-03T04:39:33Z")

</div>

I have the same problem… but I need that On Mouse Button Down override to detect drags! How do I keep it and have my OnClicked event fire properly?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_19dbb582](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_19dbb582](https://forums.unrealengine.com/u/anonymous_user_19dbb582)\
**Post date:** [September 6, 2018, 9:39pm UTC](https://forums.unrealengine.com/t/left-mouse-button-input-action-works-only-when-doubleclick/373223/6 "2018-09-06T21:39:41Z")

</div>

Same issue here!  
can some1 help???
