Hide frames but still use gridlayout

I’m just wandering how to make a frame invisible but still take up space in the uigridlayout. Right now when I make a frame invisible it just makes everything shuffle along but I want everything to stay where it is in the grid layout even if there is an invisible gap
I could just back it invisible but and add a checker in the click function and disable the sound but was wandering if there is a simple property that does this

You have to do this, there’s no property or anything to do it automatically unless you create your own ui layout objects manually.