How to close menu when tapping on other parts.

Heliyabisadi shared this problem 4 months ago
In Progress

Hi

I created a menu that opens and closes on tap on a button but I want it to close also when tapping on any other point on the screen. How should I do this?

Best Answer
photo

You can place a hotspot on the screen that's hidden, and is shown when you open the menu. Then, you can create an event on the hotspot that hides the menu when you click on it. We've attached a quick example of this. Hope this helps, and let me know if you have any questions!

Comments (1)

photo
1

You can place a hotspot on the screen that's hidden, and is shown when you open the menu. Then, you can create an event on the hotspot that hides the menu when you click on it. We've attached a quick example of this. Hope this helps, and let me know if you have any questions!