function · ui
tooltip
Records tooltip content.
ui.tooltip(label, text)
- Stable ID
ui.tooltip- 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
- label: semantic tooltip label.
- text: tooltip body.
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
- None
Examples
ui.tooltip("Need pressure", "Higher values require more attention.")
API history
- 1.0.0: Runtime contract published from the complete Phase 14 registry.