Home > blockly > LineCursor > prev
LineCursor.prev() method
Moves the cursor to the previous block or workspace comment in the pre-order traversal.
Signature:
prev(): IFocusableNode | null;
Returns:
IFocusableNode | null
The previous node, or null if the current node is not set or there is no previous value.