blockly > Connection > getSourceBlock

Connection.getSourceBlock() method

Get the source block for this connection.

Signature:

getSourceBlock(): Block;

Returns:

Block

The source block.