@turbowarp/types-tw
    Preparing search index...
    interface HatBlock {
        arguments?: Record<string, Argument>;
        blockIconURI?: string;
        blockShape?: 2 | 1 | 3;
        blockType: "hat";
        filter?: ("target" | "sprite")[];
        func?: string;
        hideFromPalette?: boolean;
        isEdgeActivated?: boolean;
        opcode: string;
        shouldRestartExistingThreads?: boolean;
        text: string | string[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    arguments?: Record<string, Argument>
    blockIconURI?: string
    blockShape?: 2 | 1 | 3
    blockType: "hat"
    filter?: ("target" | "sprite")[]
    func?: string
    hideFromPalette?: boolean
    isEdgeActivated?: boolean

    Defaults to true.

    opcode: string
    shouldRestartExistingThreads?: boolean

    Defaults to false.

    text: string | string[]