Home > blockly > BlockSvg > snapToGrid
BlockSvg.snapToGrid() method
Snap this block to the nearest grid point.
Signature:
snapToGrid(): void;
Returns:
void
Home > blockly > BlockSvg > snapToGrid
Snap this block to the nearest grid point.
Signature:
snapToGrid(): void;
Returns:
void