Hi there, this is my first time doing anything like this and I’m very new to scripting and building a GUI. In fact, this is my first time building a GUI.
I am having an issue with minimizing and reopening the GUI.
I want to make it so when I minimize the GUI, a small box pops up in the exact spot where I clicked minimize. And when I want to reopen it the GUI pops back up in the exact spot the I clicked open.
I have tried doing a few things and will show such below with Video.
I tried making it so when I clicked the text button that minimizes the GUI it changes Main.Visible = true to Main.Visible = false and a smaller text label that holds a text botton becomes visible. But when I move the smaller text label around and then reopen it, the GUI goes back to where it was when I last closed it. As seen below
Then I tried to make Main (the Main Frame of the GUI) the parent of Open ( the parent for the text button that minimizes the GUI) and make Main not Visible while having Open Visible. But that failed to make Open actually Visible.
So if y’all could be of any help and let me know what I need to do to fix this issue that would be great.
The position on screen is saved in format scale,ofset and you need to save the offset every time, you click the button. Then you set position of the other component. Sry, i havent time for giving you script example.
This might be because you are using scale instead of offset. I recommend using using offset as your GUI is not that big. If you do not know what scale and offset are, this is a really good topic explaining them: