blockly > Grid > shouldSnap

Grid.shouldSnap() method

Whether blocks should snap to the grid.

Signature:

shouldSnap(): boolean;

Returns:

boolean

True if blocks should snap, false otherwise.