MakeCode Embed
    Preparing search index...

    Interface ToolboxCategoryDefinition

    interface ToolboxCategoryDefinition {
        advanced?: boolean;
        blocks?: ToolboxBlockDefinition[];
        color?: string;
        groups?: string[];
        icon?: string;
        name?: string;
        weight?: number;
    }
    Index
    advanced?: boolean

    Whether or not the category should be placed in the advanced category

    Blocks to appear in the category. Specifying this field will override all existing blocks in the category. The ordering of the blocks is determined by the ordering of this array.

    color?: string

    The color of this category

    groups?: string[]

    Ordering of category groups

    icon?: string

    The icon of this category

    name?: string

    The display name for the category

    weight?: number

    The weight of the category relative to other categories in the toolbox