I have a quick question for you; what is the best way to expand UI?
At the moment, out of laziness, my method is to put the frame I want to expand inside another frame with a UI list set to X center and Y center, then tweening the size of the frame - creating an expanding effect.
I understand that this is probably an inefficient way of doing this - does anyone do this differently? Is there a way to calculate the position (using scale) that the frame needs to be tweened to based on the size increase?
You can use an anchor point to retain the frame’s relative position to it’s size. From there, you can simply tween only the size property of the GUI element and it should retain its position (giving an expanding effect).