diff --git a/src/lib/blocks.js b/src/lib/blocks.js index 7f66b9b4c810bf08ead6df8cd58b6fd5a504ffdb..2e531cc01c479eda53913d90695b9a2820cafd97 100644 --- a/src/lib/blocks.js +++ b/src/lib/blocks.js @@ -105,6 +105,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_']