Skip to main content

Home > blockly > blockRendering > PathObject > updateSelected

blockRendering.PathObject.updateSelected() method

Add or remove styling showing that a block is selected.

Signature:

updateSelected(enable: boolean): void;

Parameters

ParameterTypeDescription
enablebooleanTrue if selection is enabled, false otherwise.

Returns:

void