I has a “setting panel” , I want close it when i touch the screen (touch position not in this panel) .
I tried but this can’t display when touch the help button .
I think when I touch the help button I accident close this panel
If you want to close the settings panel when you touch anywhere in the screen, add an event trigger on the panel and use setactive = true/false.
I think it’ll be easier to include a close button at the corner of the panel, and add event trigger to that button, so when the button is pressed, it’ll close the panel.
Select the object you want to have touch event, in your case, the panel, the add component > search event trigger > at the bottom part of even trigger > click on the + icon to add a function.
I’m not good at explaining that part, try googling it.