blockly > Block > getPreviousBlock
Block.getPreviousBlock() method
Returns the block connected to the previous connection.
Signature:
getPreviousBlock(): Block | null;
Returns:
Block | null
The previous statement block or null.
blockly > Block > getPreviousBlock
Returns the block connected to the previous connection.
Signature:
getPreviousBlock(): Block | null;
Returns:
Block | null
The previous statement block or null.