blockly > Marker > setCurNode
Marker.setCurNode() method
Set the location of the marker and call the update method. Setting isStack to true will only work if the newLocation is the top most output or previous connection on a stack.
Signature:
setCurNode(newNode: ASTNode): void;
Parameters
Parameter | Type | Description |
---|---|---|
newNode | ASTNode | The new location of the marker. |
Returns:
void