Skip to main content

Home > blockly > Block > unplug

Block.unplug() method

Unplug this block from its superior block. If this block is a statement, optionally reconnect the block underneath with the block on top.

Signature:

unplug(opt_healStack?: boolean): void;

Parameters

ParameterTypeDescription
opt_healStackboolean(Optional) Disconnect child statement and reconnect stack. Defaults to false.

Returns:

void