# DoubleTap OR SingleTap OR DoubleTap and Hold?

**URL:** <https://forums.unrealengine.com/t/doubletap-or-singletap-or-doubletap-and-hold/312555>\
**Category:** Blueprint\
**Tags:** controller, unreal-engine, action-mappings, controls, Blueprint, question\
**Created:** [March 25, 2015, 4:44pm UTC](https://forums.unrealengine.com/t/doubletap-or-singletap-or-doubletap-and-hold/312555 "2015-03-25T16:44:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrifterGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DrifterGames](https://forums.unrealengine.com/u/DrifterGames)\
**Post date:** [March 25, 2015, 4:44pm UTC](https://forums.unrealengine.com/t/doubletap-or-singletap-or-doubletap-and-hold/312555/1 "2015-03-25T16:44:42Z")

</div>

Hello all, I’m trying to set up an input macro that reads button presses and outputs ONE (and only one) of the following options: SingleTap, DoubleTap, or DoubleTap and Hold. I’ve got doubletap working fine, but when I go to add single tap I get both single and double tap firing sequentially, which makes the controller just fire the single tap event. I heard one could manage this via the input manager, but I couldn’t see how, so I am trying to build a macro. The doubletap macro in the first image works fine, but when I try to add single tap I get the problem I stated above, which is that both single and doubletap fire from the macro, which doesn’t help me… Plus, I have no idea where to start on a ‘doubletap and hold’ style output. I’m sure there’s a simple answer, I just could use some help finding it. The macro in the first image works, the second and third do not, any help would be appreciated, thanks!

 ![35840-doubletap.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/8/5e8422090008ae94bfdcff6b00fb4ffc8fac9943.jpeg)

 ![35851-singletapa.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/c/7/cc7061e93ea4a272335e246019fc8764b6b1f7b0.jpeg)

 ![35852-singletapb.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/4/f/d4f8a3ef4afcadb4f4263a7148422104104befa6.jpeg)

---

<div class="post-metadata">

**Author:** ![DrifterGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DrifterGames](https://forums.unrealengine.com/u/DrifterGames)\
**Post date:** [April 1, 2015, 3:38pm UTC](https://forums.unrealengine.com/t/doubletap-or-singletap-or-doubletap-and-hold/312555/2 "2015-04-01T15:38:37Z")

</div>

I suppose I’ll bump this, as I’m still searching for a solution.

---

<div class="post-metadata">

**Author:** ![razee01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@razee01](https://forums.unrealengine.com/u/razee01)\
**Post date:** [August 10, 2015, 6:12pm UTC](https://forums.unrealengine.com/t/doubletap-or-singletap-or-doubletap-and-hold/312555/3 "2015-08-10T18:12:13Z")

</div>

Hi, I am also looking for this. Some body please help.

---

<div class="post-metadata">

**Author:** ![Mhousse1247](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mhousse1247](https://forums.unrealengine.com/u/Mhousse1247)\
**Post date:** [August 11, 2015, 11:25am UTC](https://forums.unrealengine.com/t/doubletap-or-singletap-or-doubletap-and-hold/312555/4 "2015-08-11T11:25:11Z")

</div>

Here is a way to do it

 ![55811-tapevents.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/1/2/e12d5968f97badebb1ce1aeba3ecb5bf41180f0d.jpeg)

---

<div class="post-metadata">

**Author:** ![jtsmith](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jtsmith](https://forums.unrealengine.com/u/jtsmith)\
**Post date:** [August 26, 2015, 1:25am UTC](https://forums.unrealengine.com/t/doubletap-or-singletap-or-doubletap-and-hold/312555/5 "2015-08-26T01:25:14Z")

</div>

Your image is broken

---

<div class="post-metadata">

**Author:** ![Mhousse1247](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mhousse1247](https://forums.unrealengine.com/u/Mhousse1247)\
**Post date:** [August 26, 2015, 7:42am UTC](https://forums.unrealengine.com/t/doubletap-or-singletap-or-doubletap-and-hold/312555/6 "2015-08-26T07:42:52Z")

</div>

fixed , thanks!

---

<div class="post-metadata">

**Author:** ![ond\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ond\_1](https://forums.unrealengine.com/u/ond_1)\
**Post date:** [October 10, 2017, 6:31am UTC](https://forums.unrealengine.com/t/doubletap-or-singletap-or-doubletap-and-hold/312555/7 "2017-10-10T06:31:55Z")

</div>

Inspired by Mhousses sollution I Turned my sollution into a Macro.  
It’s a bit bit spaghetti-ish, and I’m not sure the comments are readable at all but here it is

 ![216231-mousesingledoublehold.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/9/8b92705daeb859989a54afcc45c9fd47307c047c.png)
