rednode API - v0.1.0
    Preparing search index...

    Interface GameState

    What the game is showing, and whether REDnode is linked to it.

    interface GameState {
        connected: boolean;
        mainMenu: boolean;
        menu: boolean;
        overlay: "passive" | "interactive" | "hidden";
        photoMode: boolean;
        scene: boolean;
    }
    Index
    connected: boolean

    True while the overlay host is linked to the game. All other fields are false when it is not.

    mainMenu: boolean

    The main menu, before a save is loaded.

    menu: boolean

    A game menu is open: inventory, map, pause menu and so on.

    overlay: "passive" | "interactive" | "hidden"

    The overlay's input mode, switched with F10.

    photoMode: boolean

    Photo mode is on.

    scene: boolean

    A scene that takes control of V, such as a cutscene. The threshold is unverified.