blockly > BlockDragSurfaceSvg > getWsTranslation
BlockDragSurfaceSvg.getWsTranslation() method
Gets the translation of the child block surface This surface is in charge of keeping track of how much the workspace has moved.
Signature:
getWsTranslation(): Coordinate;
Returns:
The amount the workspace has been moved.