blockly > FieldVariable > setSourceBlock
FieldVariable.setSourceBlock() method
Attach this field to a block.
Signature:
setSourceBlock(block: Block): void;
Parameters
Parameter | Type | Description |
|---|---|---|
block | The block containing this field. |
Returns:
void
blockly > FieldVariable > setSourceBlock
Attach this field to a block.
Signature:
setSourceBlock(block: Block): void;
Parameter | Type | Description |
|---|---|---|
block | The block containing this field. |
Returns:
void