blockly > blockRendering > PathObject > updateHighlighted
blockRendering.PathObject.updateHighlighted() method
Set whether the block shows a highlight or not. Block highlighting is often used to visually mark blocks currently being executed.
Signature:
updateHighlighted(enable: boolean): void;
Parameters
Parameter | Type | Description |
---|---|---|
enable | boolean | True if highlighted. |
Returns:
void