Is there an elegant way to only allow event listeners on the top layers to be active and block any other listeners?
Hey Dae Hyuk Yoon - This may be what you're looking for → Let's say that layerB is a layer that is positioned on top of layerA, and layerA has a Click Event listener. Now, clicking layerB will trigger a click on layerA, too. To prevent this, you could add the following:
layerB.on Events.Click, (event) -> event.stopPropagation()
Thanks Benjamin. I guess with this method, I still have to manually find all the layers with a click event and stop and unstop the layers.
My bad, I've misunderstood it. It's working now and it's so much better than setting ignoreEvents on all the other layers. Thanks again Benjamin Den Boer