blockly > blockRendering > PathObject > setCursorSvg
blockRendering.PathObject.setCursorSvg() method
Add the cursor SVG to this block's SVG group.
Signature:
setCursorSvg(cursorSvg: SVGElement): void;
Parameters
Parameter | Type | Description |
---|---|---|
cursorSvg | SVGElement | The SVG root of the cursor to be added to the block SVG group. |
Returns:
void