blockly > Cursor > prev

Cursor.prev() method

Find the previous connection, field, or block.

Signature:

prev(): ASTNode | null;

Returns:

ASTNode | null

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