interface HatBlock {
    arguments?: Record<string, Argument>;
    blockIconURI?: string;
    blockType: "hat";
    filter?: ("target" | "sprite")[];
    func?: string;
    hideFromPalette?: boolean;
    isEdgeActivated?: boolean;
    opcode: string;
    shouldRestartExistingThreads?: boolean;
    text: string | string[];
}

Hierarchy (View Summary)

Properties

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

Defaults to true.

opcode: string
shouldRestartExistingThreads?: boolean

Defaults to false.

text: string | string[]