PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

ContentText

TextLabel

string

This property provides a copy of TextLabel/Text that contains exactly what is being rendered by the TextLabel. This is useful for eliminating style tags used for rich text.

Example

When TextLabel/RichText is enabled, the TextLabel/ContentText property shows the text as it appears to the player.

RichText Text ContentText
false <b>Hello,<br/> world!</b> <b>Hello,<br/> world!</b>
true <b>Hello,<br/> world!</b> Hello,
world!