blockly > Block > bumpNeighbours

Block.bumpNeighbours() method

Bump unconnected blocks out of alignment. Two blocks which aren't actually connected should not coincidentally line up on screen.

Signature:

bumpNeighbours(): void;

Returns:

void