Skip to main content

blockly > blockRendering > IPathObject > updateReplacing

blockRendering.IPathObject.updateReplacing() method

Add or remove styling indicating that a block will be bumped out and replaced by another block that is mid-move.

Signature:

updateReplacing?(replacing: boolean): void;

Parameters

Parameter

Type

Description

replacing

boolean

True if the block is at risk of being replaced, false otherwise.

Returns:

void