blockly > WorkspaceSvg > getGrid

WorkspaceSvg.getGrid() method

Get the grid object for this workspace, or null if there is none.

Signature:

getGrid(): Grid | null;

Returns:

Grid | null

The grid object for this workspace.