blockly > LineCursor > getFirstNode

LineCursor.getFirstNode() method

Get the first navigable node on the workspace, or null if none exist.

Signature:

getFirstNode(): IFocusableNode | null;

Returns:

IFocusableNode | null

The first navigable node on the workspace, or null.