Repository navigation
API Variable ActionPhase
github-actions[bot] edited this page Nov 24, 2026
·
1 revision
const ActionPhase: object;Defined in: src/engine/input/actions.ts:29
Phase flags (<action>$phase).
readonly canceled: 256 = 256;It stopped while ongoing, without triggering.
readonly completed: 128 = 128;It stopped being triggered.
readonly held: 1 = 1;Actuated: a button past the press point, an axis or vector not zero.
readonly ongoing: 16 = 16;Its triggers are part-way (a hold not long enough yet, a combo half done).
readonly performed: 64 = 64;It became triggered this frame (tick), or a pulse fired.
readonly pressed: 2 = 2;Became actuated this frame (tick).
readonly released: 4 = 4;Stopped being actuated this frame (tick).
readonly started: 8 = 8;Its triggers started (None → Ongoing or Triggered).
readonly triggered: 32 = 32;Its triggers are satisfied (level).
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