Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

ControlsOptions

What controls() takes.

Property Type Description
keys? Partial<Record<"forward" | "left" | "textChat" | "pushToTalk" | "performanceStats" | "back" | "right" | "menu" | "climbUp" | "climbDown" | "cameraLock" | "orbitLeft" | "orbitRight" | "zoomIn" | "zoomOut" | "interact", readonly KeyCode[]>> The keys each engine action takes in place of its own, as { cameraLock: [] } drops the camera lock’s Shift so a sprint can take it, and { jump: ["Space", "Enter"] } adds Enter to the jump. An action left out keeps its keys.