Overlay options menu

Hello,

I want to make an options menu with the overlay function of storyboard. When the options button is pressed, a small rectangle with choices will be showed. Is it possible to check if the user is pressing the parent scene behind the rectangle? So when this happens the options menu disappears?

There are a couple of strategies that can be applied here.  Perhaps the easiest is to add an invisible full screen background to the overlay and put a touch handler on it.  If the background catches the touch event, then dismiss the overlay.

There are a couple of strategies that can be applied here.  Perhaps the easiest is to add an invisible full screen background to the overlay and put a touch handler on it.  If the background catches the touch event, then dismiss the overlay.