Home > blockly > blockRendering > PathObject > updateMovable
blockRendering.PathObject.updateMovable() method
Add or remove styling showing that a block is movable.
Signature:
updateMovable(enable: boolean): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| enable | boolean | True if the block is movable, false otherwise. |
Returns:
void