blockly > Block > isDuplicatable
Block.isDuplicatable() method
Get whether is block is duplicatable or not. If duplicating this block and descendants will put this block over the workspace's capacity this block is not duplicatable. If duplicating this block and descendants will put any type over their maxInstances this block is not duplicatable.
Signature:
isDuplicatable(): boolean;
Returns:
boolean
True if duplicatable.