Skip to main content

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

BlockSvg

The block to find the following element of.

Returns:

IFocusableNode | null

The block's next connection, or the next peer on its parent block, otherwise null.