Skip to content

TextBox

Object ยท UI

An interactive editable single-line or multi-line text input field.

Components

A new TextBox starts with these components.

Component About
Box Screen-space rectangle; scale is a parent fraction, offset pixels
UIOrder Draw and list order among siblings
Panel Filled rectangle background; the plate behind every Gui
Border Border line around the plate of this Gui
UICorner Rounds the corners of the plate and the stroke
UITextInput Editable text input; cursor and focus state stay client-side
UITextStyle Text style, including horizontal and vertical alignment
Button Opts into hit-testing and click/press events
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