How to use :GetTextSize()

How can I use :GetTextSize to get the size of a frame on the Y only, but scales based off the X size.

X Size = Scale: 1 Offset: Unknow (Will change)

GetTextSize returns a Vector2 which has X and Y properties, you’ll of course want to only use Y.

1 Like

but this return a value compared to the screen, not the frame you want it in. And I am trying to shrink it down on the X axis and expand on the Y so it can fit next to something.

Does this argument not suffice your needs? Simply pass in the AbsoluteSize of your Frame and it’ll give you a value in accordance to that.

will the size it returns, fit inside the value that I give it?