Widget API: FontString:GetText

From AddOn Studio
Jump to navigation Jump to search

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.