diff --git a/blocks_vertical/control.js b/blocks_vertical/control.js index 62c516e492..8063ab3b46 100644 --- a/blocks_vertical/control.js +++ b/blocks_vertical/control.js @@ -640,6 +640,20 @@ Blockly.Blocks['control_delete_this_clone'] = { } }; +Blockly.Blocks['control_is_clone'] = { + /** + * pm: Block to check if a sprite is a clone. + * @this Blockly.Block + */ + init: function () { + this.jsonInit({ + "message0": "is clone?", + "category": Blockly.Categories.control, + "extensions": ["colours_control", "output_boolean"] + }); + } +}; + Blockly.Blocks['control_stop_sprite_menu'] = { /** * pm: Stop-sprite drop-down menu.