Skip to main content

Home > blockly > blockRendering > PathObject > updateShadow_

blockRendering.PathObject.updateShadow_() method

Updates the look of the block to reflect a shadow state.

Signature:

protected updateShadow_(shadow: boolean): void;

Parameters

ParameterTypeDescription
shadowbooleanTrue if the block is a shadow block.

Returns:

void