Merge pull request #634 from Kenny2github/patch-1

Add glideto menu
This commit is contained in:
Paul Kaplan authored and GitHub committed 2017-08-28 16:29:50 -04:00
commit 7c026bcdb4
1 file changed
+8
+8
View File
@@ -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_']