Returns the height of the text displayed in the font string. This value is based on the text currently displayed; e.g. a long block of text wrapped to several lines results in a greater height than that for a short block of text that fits on fewer lines.

Signature:

height = FontString:GetStringHeight()

Returns:

  • height - Height of the text currently displayed in the font string (in pixels) (number)