Skip to content

API Interface ComponentOptions

github-actions[bot] edited this page Nov 27, 2026 · 5 revisions

Interface: ComponentOptions

Defined in: src/engine/core/registry.ts:181

Options on a registered component class (ADR 0033).

Properties

worlds?

worlds?: readonly WorldTag[];

Defined in: src/engine/core/registry.ts:186

Tags of the Worlds this component exists in (client-only, server-only…). In other Worlds it isn't created when a scene loads. Default: every World (T11).

Clone this wiki locally