ControlsOptions
What controls() takes.
Properties
Section titled “Properties”| 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. |