Skip to content

API Interface ComponentOptions

github-actions[bot] edited this page Dec 1, 2026 · 4 revisions

Interface: ComponentOptions

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

Options on a registered component class (ADR 0033).

Properties

worlds?

worlds?: readonly WorldTag[];

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

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