I’m new to corona and I need to accomplish something like this:
When the user taps the screen => Calls Function screenTap
When the user taps and hold => Calls Function tapAndHold (once when it “began” and once when “ended”)
But I can’t find the way of creating this behaviour, If I add a “touch” and a “tap” event listener to the Runtime (I want to catch events on screen) the “tap” event always gets called after the “touch” event and that’s not what I want because both tapAndHold and screenTap gets called.
Any idea?? thanks!