blockly > Grid > getSpacing

Grid.getSpacing() method

Get the spacing of the grid points (in px).

Signature:

getSpacing(): number;

Returns:

number

The spacing of the grid points.