blockly > IBubble > getRelativeToSurfaceXY
IBubble.getRelativeToSurfaceXY() method
Return the coordinates of the top-left corner of this bubble's body relative to the drawing surface's origin (0,0), in workspace units.
Signature:
getRelativeToSurfaceXY(): Coordinate;
Returns:
Object with .x and .y properties.