Hello all,
I have layers of display objects on top of each other. Each display object has both (1) touch listener, and (2) tap listener, to action upon either or / both touch event and tap event.
I have used “return true” in touch listener in successfully stopping the propagating of touch events from top object to the one below. I also use “return true” in tap listener, but it does not stop the propagating of tap event (from top object to the one below).
How do one stop tap event from propagating downwards?
Thank you.
Regards, Luan
PS> In my program, I need to use both touch and tap events, and to have different actions, based upon, if touch event (and phase), and if tap event (and number of taps).
This is tested with Simulator 2018.3258 (Apr 4 2018) on Windows 10, as well as on a Samsung Tablet running Android 4.4.2.