How do I use TextService:GetTextSize()?

I want to use GetTextSize to calculate how large a frame needs to be, but the docs on it aren’t very clear what it completely does, so I came here for help.

Thanks in advance.

Link to the Dev API Reference.TextService:GetTextSize

1 Like

“With GetTextSize, the dimensions required by a particular text string in a particular TextLabel or TextButton can be calculated before any object is created or text property set” - Dev API Reference (idk I’m probably not helping)