Skip to content

TextLabel

Object ยท UI

A 2D element that renders non-interactive formatted text.

Components

A new TextLabel starts with these components.

Component About
Box Screen-space rectangle; scale is a parent fraction, offset pixels
UIOrder Draw and list order among siblings
UITextSource The authored text as an interned name id
UITextStyle Text style, including horizontal and vertical alignment
UITextWrapped Breaks the text into lines at the width of the rect
UIHidden Hides the entity and its subtree; the renderer skips it
UIDisabled Draws the control dim and refuses the pointer and the key; absent means usable
UITransform Turns and scales the element and its children after layout; the pointer follows the turned shape