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

#1 2009-04-18 14:01:13

Cross_country_cat
Scratcher
Registered: 2009-04-18
Posts: 4

Stop one sprite motion

Is there a way to stop only one sprite's motion? I couldn't find a "stop motion" block in the "motion" palette. I wanna throw the computer out the window!!  :-)

Offline

 

#2 2009-04-18 14:09:46

bosox397
Scratcher
Registered: 2008-02-17
Posts: 1000+

Re: Stop one sprite motion

U could make a private variable and then have for every script:

If not Variable = 1
do regular stuff
else
stop script


Dear Scratch Users,
I'm done with scratch, or at least making projects. I have made one last big game, thats both fun and teaches a lesson about water. It'd mean a lot if you gave me feedback.                              http://scratch.mit.edu/projects/bosox397/569201

Offline

 

#3 2009-04-18 20:42:54

Cross_country_cat
Scratcher
Registered: 2009-04-18
Posts: 4

Re: Stop one sprite motion

okay.... thank! I found it, though... [blocks] <repeat until> [/blocks] instead of [blocks] <forever if> [/blocks] :-)

Offline

 

#4 2009-04-19 07:29:30

bhz
Scratcher
Registered: 2008-07-06
Posts: 100+

Re: Stop one sprite motion

Cross_country_cat wrote:

Is there a way to stop only one sprite's motion? I couldn't find a "stop motion" block in the "motion" palette. I wanna throw the computer out the window!!  :-)

Also, don't go insane because one block you want is not is there. Most likely there is an easy approach to your problem.

Offline

 

#5 2009-04-27 20:03:29

Cross_country_cat
Scratcher
Registered: 2009-04-18
Posts: 4

Re: Stop one sprite motion

Okay new question: is it possible to fit [blocks]
<<  <not>  >>
[/blocks]
into
[blocks] <pick random(  )to( [/blocks]
?

Offline

 

#6 2009-04-27 20:33:23

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Stop one sprite motion

Cross_country_cat wrote:

Okay new question: is it possible to fit [blocks]
<<  <not>  >>
[/blocks]
into
[blocks] <pick random(  )to( [/blocks]
?

Well, why would you need to?

Offline

 

Board footer