From b9ca2e0862226948196618a556926a76e8438734 Mon Sep 17 00:00:00 2001 From: JeremyGamer13 <69337718+JeremyGamer13@users.noreply.github.com> Date: Sun, 27 Oct 2024 00:20:52 -0600 Subject: [PATCH] is clone block --- blocks_vertical/control.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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.