This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-09-26 20:45:45

KrIsMa
Scratcher
Registered: 2011-09-20
Posts: 500+

Suggestion

Stop block?
<when green flag clicked>
<forever>
<repeat( 10
<say[ hi]for(2  )secs>
[blocks] hi [/blocks]


http://blocks.scratchr.org/API.php?user=KrIsMa&amp;action=onlineStatus&amp;online=http://i49.tinypic.com/2pzic0m.png&amp;offline=http://i49.tinypic.com/r7p10n.png
The Scratch Team (and fellow scratchers!) is/are so nice!!!

Offline

 

#2 2011-09-26 20:49:07

KrIsMa
Scratcher
Registered: 2011-09-20
Posts: 500+

Re: Suggestion

stop block
<when green flag clicked>
<forever>
<if><( 2 <=> 2 )>
<say[ hi ]for( 2 )secs>
[blocks] Stop block [/blocks]
stops the blocks it is touching?


http://blocks.scratchr.org/API.php?user=KrIsMa&amp;action=onlineStatus&amp;online=http://i49.tinypic.com/2pzic0m.png&amp;offline=http://i49.tinypic.com/r7p10n.png
The Scratch Team (and fellow scratchers!) is/are so nice!!!

Offline

 

#3 2011-09-26 20:52:14

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Suggestion

There's already the stop script block, which stops the script it's attached to. Is that what you're looking for?  hmm


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#4 2011-09-28 10:46:27

KrIsMa
Scratcher
Registered: 2011-09-20
Posts: 500+

Re: Suggestion

Harakou wrote:

There's already the stop script block, which stops the script it's attached to. Is that what you're looking for?  hmm

Not quite
A stop block does not end the script but ends the "if" block.
(refer to example above)


http://blocks.scratchr.org/API.php?user=KrIsMa&amp;action=onlineStatus&amp;online=http://i49.tinypic.com/2pzic0m.png&amp;offline=http://i49.tinypic.com/r7p10n.png
The Scratch Team (and fellow scratchers!) is/are so nice!!!

Offline

 

Board footer