I have a question regarding stacked layers and their event listeners occurring at the same time.
Here’s what I’m trying to do: I’m working off a flipcard module in which each card is a parent container layer holding two children layers (one for the front and one for the back) - three layers total.
The container has a click event that makes the card flip and the back layer has an event listener that will do something else, in this case, make the second card disappear. Because these layers are stacked on top one another, clicking will enable both events to occur (1. the flip and 2. the disappearance of the second card). How can I get one event to occur at a time, despite being stacked on top each other?
Your help is much appreciated 🙏
Also, I haven’t had much luck with the .ignoreEvents method