If I have a Blockly workspace, how can I get the total number of blocks that are being used?
How do I get the total number of blocks in a Blockly workspace
803 views Asked by user12976477 At
1
If I have a Blockly workspace, how can I get the total number of blocks that are being used?
workspace.getAllBlocks(false).lengthDocs: https://developers.google.com/blockly/reference/js/Blockly.Workspace#getAllBlocks