blockly > Navigator > getInNode
Navigator.getInNode() method
Returns the node to the right of the given node.
Signature:
getInNode(node?: IFocusableNode | null): IFocusableNode | null;
Parameters
Parameter | Type | Description |
|---|---|---|
node | IFocusableNode | null | (Optional) The node to navigate relative to, defaults to the currently focused node. |
Returns:
IFocusableNode | null
The node to the right of the given node, within the same visual "row" as the given node, or null if there is none.