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