function · world_indicators
set_visible
Changes per-session visibility for one authorized world-indicator channel.
world_indicators.set_visible(channel_id, visible) -> changed
- Stable ID
world_indicators.set-visible- Owner
- app.ScriptPackageHost
- Authority
- presentation
- Timing
- immediate
- Availability
- Phase 14 package callbacks
- Side effects
- changes host-owned presentation visibility without mutating simulation state
- Determinism
- Host-created package identity and per-callback budgets.
- Introduced
- 1.7.0
Usage
Show or hide one authorized indicator channel for the current session. Use this for explicit lens controls, not as a gameplay-state switch.
Parameters
- channel_id: stable registered indicator-channel identity.
- visible: requested presentation visibility.
Returns
True after the host accepts the visibility value.
Cost
One indexed host-state update; owner facts are composed later only while the channel is visible.
Fields
This symbol has no fields.
Errors
Examples
world_indicators.set_visible("development.resource-activity", true)
API history
- 1.7.0: Authorized per-session world-indicator visibility control added.
Related symbols
world_indicators.channelsworld_indicators.is-visibleerror.indicator-channel-authorityerror.indicator-channel-unavailable