FontString:SetText

From Warcraft Wiki
Jump to navigation Jump to search

Sets the text to be displayed in the FontString.

fontString:SetText(text)

Arguments

text
string - The text to be displayed.

Details

Example

	fontString:SetText("|cff000000This text is black,|r |cffff0000while this text will be red.|r")

See also