Skip to main content

Home > blockly > Marker > setCurNode

Marker.setCurNode() method

Set the location of the marker and call the update method.

Signature:

setCurNode(newNode: IFocusableNode | null): void;

Parameters

ParameterTypeDescription
newNodeIFocusableNode | nullThe new location of the marker, or null to remove it.

Returns:

void