MCPcopy
hub / github.com/RaspberryPiFoundation/blockly / setMovable

Method setMovable

packages/blockly/core/block.ts:858–860  ·  view source on GitHub ↗

* Set whether this block is movable or not. * * @param movable True if movable.

(movable: boolean)

Source from the content-addressed store, hash-verified

856 * @param movable True if movable.
857 */
858 setMovable(movable: boolean) {
859 this.movable = movable;
860 }
861
862 /**
863 * Get whether is block is duplicatable or not. If duplicating this block and

Callers 7

loadWorkspaceCommentFunction · 0.45
domToBlockHeadlessFunction · 0.45
block_test.jsFile · 0.45
p5_blocks.jsFile · 0.45
factory.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected