Quick question. I have a menu on the left side and a menu/panel sliding out from the right. Whenever the menu or the panel is visible I want to stop all other interaction (like you shouldn't be able to slide the content in the background or click any buttons). I have an Overlay-layer that also appears under the menu and panel to darken the background.
How would I do this? Do I have to stop all event listeners on all the layers, or could I have the Overlay layer collect all clicks and just du nothing with them? What's the best approach?