blockly > Marker > getSourceBlock
Marker.getSourceBlock() method
Returns the block that this marker's current node is a child of.
Signature:
getSourceBlock(): BlockSvg | null;
Returns:
BlockSvg | null
The parent block of the marker's current node if any, otherwise null.