Skip to content

Commit

Permalink
is clone block
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyGamer13 committed Oct 27, 2024
1 parent 20db370 commit b9ca2e0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions blocks_vertical/control.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b9ca2e0

Please sign in to comment.