Skip to main content

blockly > Events > BlockCreate > (constructor)

Events.BlockCreate.(constructor)

Constructs a new instance of the BlockCreate class

Signature:

constructor(opt_block?: Block);

Parameters

Parameter

Type

Description

opt_block

Block

(Optional) The created block. Undefined for a blank event.