In my app I have a few buttons in the corners, and a large “background” space that takes up the rest of the screen. I want to write a handler that responds to a tap ONLY IF IT IS NOT IN ANY WIDGET.
display.currentStage:addEventListener(“tap”, nextTurn)
creates a handler that responds to every tap, even if it was in a widget. How can I get the distinction I need?