Skip to main content

Home > blockly > blockRendering > IPathObject > updateHighlighted

blockRendering.IPathObject.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(highlighted: boolean): void;

Parameters

ParameterTypeDescription
highlightedbooleanTrue if highlighted.

Returns:

void