Simple panel questions

Is there a component or setting I can adjust to make it that when I click inside my panel it does not close it. The panel closes if I click anything inside the panel that is pretty much not a button.

I want to make a button in the panel be the only way to close the panel, whereabouts would i look to start this. I cannot find any tutorials to follow along.

Thx

It sounds like the button that you made to close the panel is using the panel itself as the button image. Try unchecking the “Raycast Target” box in the panel’s image component and see if that helps.