ControlsOptions
What controls() takes.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
keys? |
Partial<Record<"left" | "right" | "menu" | "forward" | "back" | "pushToTalk" | "performanceStats" | "interact" | "climbUp" | "climbDown" | "cameraLock", 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. |