Repository navigation
API Function defineActions
github-actions[bot] edited this page Nov 27, 2026
·
2 revisions
function defineActions<Spec>(
id,
spec,
options?
): ActionSetDef<Spec>;Defined in: src/engine/input/actions.ts:242
Declare an action set: a data component with one value, phase and time per action (ADR 0336). Players get every defined set; pawns get their player's (ADR 0337).
Spec extends ActionSpec
string
Spec
ActionSetOptions = {}
ActionSetDef<Spec>
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