Double-Tap Code
architectpianist
Member Posts: 21
Hi,
I want to have the user double-tap an image to delete it. Is there a pre-built function for double-tapping, or do I have to "code it out"?
I tried doing this very complicated code for no use:
When image touch is pressed:
--Timer: after 0.1 seconds,
----When image touch is released:
------Timer: after 0.5 seconds,
--------When image touch is pressed:
----------Timer: after 0.1 seconds,
------------When image touch is released:
--------------Destroy this actor.
I think it was kind of pointless. So how can I code in a double-tap?
Thanks!
I want to have the user double-tap an image to delete it. Is there a pre-built function for double-tapping, or do I have to "code it out"?
I tried doing this very complicated code for no use:
When image touch is pressed:
--Timer: after 0.1 seconds,
----When image touch is released:
------Timer: after 0.5 seconds,
--------When image touch is pressed:
----------Timer: after 0.1 seconds,
------------When image touch is released:
--------------Destroy this actor.
I think it was kind of pointless. So how can I code in a double-tap?
Thanks!
Comments