KcdMp.env.dev
Whether the player’s game runs in developer mode.
true in a game that runs in developer mode, which is not how players run it; a page may show extra diagnostics there.
false in every other game, and outside the game.
Syntax
Section titled “Syntax”KcdMp.env.devboolean
Example
Section titled “Example”document.getElementById("debug").hidden = !KcdMp.env.dev;