Is there a way to make a GUI "modal"?

TextButtons have a modal. But is there any way I could make a modal for the WHOLE gui?

(A modal lets first person game cursors be unlocked when a button is appearing)

1 Like

just loop through the descendants using GetDescendants and also use DescendantAdded and check if it’s a button

I’m not using buttons though? 30 char

if descendant:IsA("TextButton") then 

end

That doesn’t do a single thing. Again, there’s not a single text button in the gui

you can try having a selectable frame stretch across the entire window, of course adjusting the background transparency to something like .99

Rather not, I can’t move things via hand that way.

Try making a button that is transparent in one of the corners and just have that be modal.

4 Likes

Now we’re getting somewhere. Thanks!

I just realized that last post is basically the same

1 Like