Home > blockly > Connection > targetBlock
Connection.targetBlock() method
Returns the block that this connection connects to.
Signature:
targetBlock(): Block | null;
Returns:
Block | null
The connected block or null if none is connected.
Home > blockly > Connection > targetBlock
Returns the block that this connection connects to.
Signature:
targetBlock(): Block | null;
Returns:
Block | null
The connected block or null if none is connected.