blockly > Marker > setCurNode

Marker.setCurNode() method

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

Signature:

setCurNode(newNode: IFocusableNode | null): void;

Parameters

Parameter Type Description
newNode IFocusableNode | null The new location of the marker, or null to remove it.

Returns:

void