ClassesBlockSvgblockly.blocksvg.getpreviousblockOn this pageHome > 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.