blockly > BlockSvg > snapToGrid

BlockSvg.snapToGrid() method

Snap this block to the nearest grid point.

Signature:

snapToGrid(): void;

Returns:

void