How to make this type of ui?

Hello, I want to make a Ui. After you open the frame, if you click anywhere around the frame it would close it, how can I make this? (Sorry I can’t show any pictures, I forgot which game has this feature.)

1 Like

basically make a big frame covering entire screen (with ui scaling and all). then make it like a transparent image button but hover, pressed, and still image is all the same. so then put a script inside it that when pressed it will make the frame with all the ui in it invisble.

2 Likes

You would need to script it. Firstly by adding a button somewhere in the UI and then scripting it, either destroy or disable upon buttonpress.

1 Like