summaryrefslogtreecommitdiff
path: root/objects.js
diff options
context:
space:
mode:
authorHardmath123 <hardmath123@gmail.com>2013-12-22 16:28:11 -0800
committerHardmath123 <hardmath123@gmail.com>2013-12-22 16:28:11 -0800
commitd8d1810e436cba83144f4b2234fc3097a739208b (patch)
treec4e06a216c75de15dc065cb3ceb05261e8e25187 /objects.js
parente9020b4ed3f7190dc78e622fbe3b2665e227c30f (diff)
downloadsnap-byow-d8d1810e436cba83144f4b2234fc3097a739208b.tar.gz
snap-byow-d8d1810e436cba83144f4b2234fc3097a739208b.zip
Initial stop others block
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 41b511d..614e7d7 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'));