function · ui

separator

Records a vertical group separator or horizontal panel separator.

ui.separator()
Stable ID
ui.separator
Owner
app.ScriptPackageHost
Authority
presentation
Timing
composition
Availability
Phase 14 package callbacks
Side effects
records bounded detached presentation intent
Determinism
Host-created package identity and per-callback budgets.
Introduced
1.19.0

Usage

Append a vertical separator inside a row group or a horizontal separator in normal panel flow.

Parameters

Returns

No gameplay value. The call appends one bounded structural presentation intent.

Cost

Counts as one widget against the package composition budget.

Fields

This symbol has no fields.

Errors

Examples

ui.begin_row_group()
ui.stat("10", "Residents")
ui.separator()
ui.stat("4", "Households")
ui.end_row_group()

API history

Related symbols

Project references