Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

BlockArgumentInfo

BlockArgumentInfo: { customFieldOptions?: {}; defaultValue?: string | number | boolean | string[]; menu?: string; name?: string; onValidate?: blockOnValidate; type: ArgumentUnionType } & ({ type: Omit<ArgumentUnionType, "number" | "number_pad" | "number_input" | "string" | "field_input" | "matrix" | "custom_matrix"> } | { options?: { max?: number | string; min?: number | string; precision?: number | string; regExp?: string; type: "number" }; type: "number" | "number_pad" | "number_input" } | { options?: { regExp?: string; type: "text" }; type: "string" | "field_input" } | { options?: { col?: number | string; row?: number | string; type: "matrix" }; type: "matrix" } | { type: "custom_matrix" })

BlockInfo

BlockType

BlockType: { arguments?: {}; blockType: "Boolean" | "command" | "conditional" | "event" | "hat" | "loop" | "reporter" | BlockUnionType; branchCount?: number; disableMonitor?: boolean; filter?: ExtensionTargetType[]; func?: string; hasNextStatement?: boolean; hasPreviousStatement?: boolean; hideFromPalette?: boolean; isEdgeActivated?: boolean; isTerminal?: boolean; opcode: string; text: string }

Type declaration

  • Optional arguments?: {}
  • blockType: "Boolean" | "command" | "conditional" | "event" | "hat" | "loop" | "reporter" | BlockUnionType
  • Optional branchCount?: number
  • Optional disableMonitor?: boolean
  • Optional filter?: ExtensionTargetType[]
  • Optional func?: string
  • Optional hasNextStatement?: boolean
  • Optional hasPreviousStatement?: boolean
  • Optional hideFromPalette?: boolean
  • Optional isEdgeActivated?: boolean
  • Optional isTerminal?: boolean
  • opcode: string
  • text: string

ButtonType

ButtonType: { blockType: "button"; func: "MAKE_A_LIST" | "MAKE_A_PROCEDURE" | "MAKE_A_VARIABLE"; text: string }

Type declaration

  • blockType: "button"
  • func: "MAKE_A_LIST" | "MAKE_A_PROCEDURE" | "MAKE_A_VARIABLE"
  • text: string

DelimiterType

DelimiterType: "---"

ExtensionMenuItem

ExtensionMenuItem: { acceptReporters?: boolean; items: string[] | { text: string; value: string | number }[] | (() => [string, string][]) }

Type declaration

  • Optional acceptReporters?: boolean
  • items: string[] | { text: string; value: string | number }[] | (() => [string, string][])

ExtensionTargetType

ExtensionTargetType: "sprite" | "stage"

Generated using TypeDoc