blockly > LineCursor > next

LineCursor.next() method

Moves the cursor to the next block or workspace comment in the pre-order traversal.

Signature:

next(): IFocusableNode | null;

Returns:

IFocusableNode | null

The next node, or null if the current node is not set or there is no next value.