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

Hierarchy (View Summary)

Properties

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

Defaults to false.

opcode: string
text: string | string[]