Taos API Reference
    Preparing search index...

    Interface RenderGraphAttachOptions

    interface RenderGraphAttachOptions {
        hotkey?: string | null;
        hint?: string | null;
        hintParent?: HTMLElement;
        button?: boolean;
    }
    Index

    Properties

    hotkey?: string | null

    Hotkey code (KeyboardEvent.code) that toggles the overlay. Default 'KeyG'. Pass null to skip.

    hint?: string | null

    When provided, a small hint pill is inserted at the bottom of the page. Pass null to skip. Default text describes the hotkey.

    hintParent?: HTMLElement

    Where to attach the hint label. Defaults to document.body.

    button?: boolean

    Adds a floating button (bottom-right) that toggles the overlay. Default true; pass false to skip — e.g. the game suppresses it.