Skip to content

text

The most basic widget for displaying strings of text on the UI.

ui.text(text)

Displays a string. Text will stay on the same line as previous widgets if ui.sameLine() was called, otherwise it starts a new line.

ParameterTypeRequiredDefaultDescription
textstringYes-The string to be displayed.

ui.text("Hello, Assetto Corsa!")