blockly > BlockNavigationPolicy > isNavigable

BlockNavigationPolicy.isNavigable() method

Returns whether or not the given block can be navigated to.

Signature:

isNavigable(current: BlockSvg): boolean;

Parameters

Parameter Type Description
current BlockSvg The instance to check for navigability.

Returns:

boolean

True if the given block can be focused.