Double tap button for an event

Hey, everybody!
I know this is an old post but I found a better solution to get this information (“Double Tap or not”) inside a macro and I would like to share it with all. That would be important for another person who finds this post!

Here is the code inside the Macro:


I set the time to wait for the second click as 0.25 seconds as the default value and exposed this variable setting as you want/need at the moment!

Here is the Macro appearance in the Event Graph:
Macro - TapOrDoubleTap.png

So, this is my contribution to this topic!

The UE4 community is already amazing, but is our(developers) responsibility to make it better!

Great development for everyone!

6 Likes