blockly > blockRendering > PathObject > updateSelected
blockRendering.PathObject.updateSelected() method
Add or remove styling showing that a block is selected.
Signature:
updateSelected(enable: boolean): void;
Parameters
Parameter | Type | Description |
---|---|---|
enable | boolean | True if selection is enabled, false otherwise. |
Returns:
void