Home > blockly > Events > VarCreate > (constructor)
Events.VarCreate.(constructor)
Constructs a new instance of the VarCreate class
Signature:
constructor(opt_variable?: IVariableModel<IVariableState>);
Parameters
| Parameter | Type | Description |
|---|---|---|
| opt_variable | IVariableModel<IVariableState> | (Optional) The created variable. Undefined for a blank event. |