DebugToggleOptions

Extends: roAssociativeArray

Options for Game.enableDebugToggle(). Every field is optional.

Properties

  • button (string) — Remote button that steps to the next level (default "options", the * button). Aliases
  • action (string) — ControlMap action that steps to the next level instead of the button, when it's bound
  • levels (Array.<BGE.Debug.DebugLevel>) — The cycle, in order (default: off, panels, + entity details, + colliders)
  • startLevel (integer) — Index of the level the game starts at (default 0). It isn't applied - it only says
  • enabled (boolean) — Does the button do anything (default true)? Turn it off while the button means something