blockly > Input > getSourceBlock

Input.getSourceBlock() method

Get the source block for this input.

Signature:

getSourceBlock(): Block;

Returns:

Block

The block this input is part of.