Skip to content

API Interface ComponentOptions

github-actions[bot] edited this page Nov 24, 2026 · 4 revisions

Interface: ComponentOptions

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

Options on a registered component class (ADR 0033).

Properties

worlds?

worlds?: readonly WorldTag[];

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

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