Widget API: FontString:GetText

Revision as of 04:45, 15 August 2023 by Move page script (talk) (Move page script moved page API FontString GetText to API FontString GetText without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Widget API ← FontString < GetText

Returns the text from any FontString UI object.

text = FontString:GetText();

Parameters

Arguments

none

Returns

text
String - The text of the FontString. Returns nil if the FontString is an empty string.