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

TextButton

string

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

Example

When TextButton/RichText is enabled, the TextButton/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!