Repository navigation
API Variable component
github-actions[bot] edited this page Nov 28, 2026
·
5 revisions
const component: (id, options?) => <T>(value, _context) => void = behavior;Defined in: src/engine/core/registry.ts:291
Class decorator for built-in engine components. Same as @behavior.
Class decorator: register a GameBehavior under a stable id used by scene files.
string
<T>(value, _context) => void
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference