blockly > BlockNavigationPolicy > getNextSibling
BlockNavigationPolicy.getNextSibling() method
Returns the next peer node of the given block.
Signature:
getNextSibling(current: BlockSvg): IFocusableNode | null;
Parameters
Parameter | Type | Description |
|---|---|---|
current | The block to find the following element of. |
Returns:
IFocusableNode | null
The first node of the next input/stack if the given block is a terminal block, or its next connection.