Would anyone explain why di GUI frames scale from the top left corner instead of the center like parts while scripting?
Please rephrase? The frame deafults at 0,0,0,0, 0,0,0,0 is at the top left as it is the anchor point, Remember to use scale and not offset
.
If you set the anchor point of a GUI element to 0.5, 0.5 which can be set with a Vector2 in a script, then changing the size will scale from the center of the GUI.
1 Like
This should be moved to the scripting support category as this is to do with scripting.
Ooohhh okay Now I know, thx. 30 characters