From bdae47acff6a22e703354c17910b6bf6221a13d2 Mon Sep 17 00:00:00 2001
From: Ken <kenny2minecraft@gmail.com>
Date: Fri, 18 Aug 2017 16:08:16 +1200
Subject: [PATCH] Add glideto menu

---
 src/lib/blocks.js | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/lib/blocks.js b/src/lib/blocks.js
index 662eb245f..8bcad76cd 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_']
-- 
GitLab