blockly > BlockSvg > setMovable

BlockSvg.setMovable() method

Set whether this block is movable or not.

Signature:

setMovable(movable: boolean): void;

Parameters

Parameter Type Description
movable boolean True if movable.

Returns:

void