From 2fe77067601913a45cf6ef038c319035d71a3616 Mon Sep 17 00:00:00 2001 From: Secret-chest Date: Fri, 5 Nov 2021 12:23:07 +0200 Subject: [PATCH] Added go to mouse support --- scratch.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scratch.py b/scratch.py index 1a9f5c4..b4e876d 100644 --- a/scratch.py +++ b/scratch.py @@ -57,7 +57,6 @@ def execute(block, s): return s.target.blocks[nextBlock] if opcode == "motion_goto_menu": - print(block.getFieldValue("to")) if block.getFieldValue("to") == "_mouse_": # go to [mouse pointer v] newX, newY = pygame.mouse.get_pos() newX = newX - WIDTH // 2