Stay organized with collections Save and categorize content based on your preferences.

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

Parameter Type Description
opt_healStack boolean (Optional) Disconnect child statement and reconnect stack. Defaults to false.

Returns:

void