Skip to content

Component UIText

Berke edited this page Jun 23, 2026 · 1 revision

UIText

The UIText component controls on-screen text rendering for UI elements.


Properties

isValid

uiText.isValid

Returns whether the UIText component is valid.

Returns

boolean

text

uiText.text

Gets or sets the displayed string content.

Type

string

Example

uiText.text = "Hello World"

Example Usage

local text = entity.uiText

text.text = "Score: 100"

Clone this wiki locally