Skip to main content
Branch: Release Candidate

toggleGameControls

Callable

  • toggleGameControls(state: boolean): void

  • Toggles the game controls.

    Remarks

    When this is set to false, all controls are disabled, so you can’t move your character or the camera.