function · ui

menu

Records one menu heading.

ui.menu(label, state?)
Stable ID
ui.menu
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.0.0

Usage

Call during composition to append validated semantic presentation state. This function cannot mutate simulation owners.

Parameters

Returns

No gameplay value. The call appends or updates semantic presentation state for the current composition pass.

Cost

Counts against the package composition instruction and surface work budgets; it does not traverse simulation ownership.

Fields

This symbol has no fields.

Errors

Examples

ui.menu("World", "Observe the settlement")

API history

Related symbols

Project references