Repository navigation
API Variable InputPlayers
github-actions[bot] edited this page Dec 1, 2026
·
5 revisions
const InputPlayers: object;Defined in: src/engine/input/facade.ts:368
Local players (ADR 0337): who has joined, joining and leaving by hand (input.join: "manual").
all(): PlayerInput[];Every player in the current World, by index.
get(index): PlayerInput | null;Player index in the current World, or null if they haven't joined.
number
PlayerInput | null
join(index?): PlayerInput;Join a player (the lowest free index unless given). Pair devices with player.pair(device).
number
leave(index): void;Remove a player: their devices are unpaired and PlayerLeft announces it.
number
void
of(node): PlayerInput;The input of the player controlling node (its pawn's), as this.input gives a behavior on it.
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