I have a cabinet in my 2d scene, with a hotspot over it. When I click on the cabinet an AC menu appears through the interaction actionlist on the hotspot which just turns on the menu. The menu right now is just a black square but it will have items and other stuff inside it in the future.
I have a button inside the menu that closes the menu when you click it, but I want to also have the menu close when I click outside of it (anywhere on the screen outside of the menu). What's the easiest way to go around this?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Welcome to the community, @Merkeyz.
The easiest way to do this is to surround the Menu with invisible "Button" elements that turn the Menu off when clicked.
This can either be done by:
Works smoothly, Thank you!