Skip to main content

Home > blockly > Connection > setShadowState

Connection.setShadowState() method

Changes the connection's shadow block.

Signature:

setShadowState(shadowState: blocks.State | null): void;

Parameters

ParameterTypeDescription
shadowStateblocks.State | nullAn state represetation of the block or null.

Returns:

void