blockly > inputs > Input > getSourceBlock

inputs.Input.getSourceBlock() method

Get the source block for this input.

Signature:

getSourceBlock(): Block;

Returns:

Block

The block this input is part of.