ClassesBlockSvgblockly.blocksvg.setdeletableOn this pageHome > blockly > BlockSvg > setDeletable BlockSvg.setDeletable() method Add blocklyNotDeletable class when block is not deletable Or remove class when block is deletable Signature: setDeletable(deletable: boolean): void; Parameters ParameterTypeDescriptiondeletableboolean Returns: void