blockly > Block > getNextBlock

Block.getNextBlock() method

Return the next statement block directly connected to this block.

Signature:

getNextBlock(): Block | null;

Returns:

Block | null

The next statement block or null.