diff --git a/src/lib/blocks.js b/src/lib/blocks.js index 662eb245f354ef9b3a591d20b6b264f16173f60d..8bcad76cd4878aebff76c99cb0f7bf09c349e80b 100644 --- a/src/lib/blocks.js +++ b/src/lib/blocks.js @@ -100,6 +100,14 @@ export default function (vm) { this.jsonInit(json); }; + ScratchBlocks.Blocks.motion_glideto_menu.init = function () { + const json = jsonForMenuBlock('TO', spriteMenu, motionColors, [ + ['mouse-pointer', '_mouse_'], + ['random position', '_random_'] + ]); + this.jsonInit(json); + }; + ScratchBlocks.Blocks.sensing_of_object_menu.init = function () { const json = jsonForMenuBlock('OBJECT', spriteMenu, sensingColors, [ ['Stage', '_stage_']