as you can see in this detailed image I made I need something like this so if you open up the menu in a game with a button, a gui will pop up with a frame
and what I want to know is how to add another button in that frame that can change the tabs without messing it up like for example
if you click the menu button it will pop up on screen and then there will be different tabs and if you click on a tab button at the top it will change to that frame with clickable buttons too
just like google chrome at desktop switching tabs from gmail to youtube
I have been trying to do this but I have no idea how to make it work without losing a couple brain cell
thank you