summaryrefslogtreecommitdiff
path: root/objects.js
diff options
context:
space:
mode:
Diffstat (limited to 'objects.js')
-rw-r--r--objects.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/objects.js b/objects.js
index e8a934e..fa9be12 100644
--- a/objects.js
+++ b/objects.js
@@ -591,6 +591,11 @@ SpriteMorph.prototype.initBlocks = function () {
category: 'control',
spec: 'stop all %stop'
},
+ doStopOthers: {
+ type: 'command',
+ category: 'control',
+ spec: 'stop other scripts in sprite'
+ },
doRun: {
type: 'command',
category: 'control',
@@ -1649,6 +1654,7 @@ SpriteMorph.prototype.blockTemplates = function (category) {
blocks.push(block('doStopBlock'));
blocks.push(block('doStop'));
blocks.push(block('doStopAll'));
+ blocks.push(block('doStopOthers'));
blocks.push('-');
blocks.push(block('doRun'));
blocks.push(block('fork'));