justinmind-logo
 
Upvote 1

How to close menu when tapping on other parts.

In Progress Heliyabisadi 3 years ago

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!

Replies (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!

Leave a Comment
 
Attach a file