Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how do I do this
- RodrigoTeeV
- Scratcher
5 posts
how do I do this
so when I have a sprite that makes 7 clones and there's 7 sprites that follows each clone, if a clone touches the edge of the screen and hides, then how do I make the sprite that follows a clone hide at the same time as a clone does if it touches the edge.
- --Irrelevant
- Scratcher
90 posts
how do I do this
Hmmm..
if <touching [edge] ?> then
broadcast [touching edge]
end
when I receive [touching edge]
hide
I'm Irrelevant! (jk)
What I'm good at:
Creating evil kumquats
Creating more evil kumquats
Creating even more evil kumquats because why not?
GIMME YOUR FOLLOW
My profile…
- boxerry
- Scratcher
15 posts
how do I do this
Hmmm..if <touching [edge] ?> then
broadcast [touching edge]
endwhen I receive [touching edge]
hide
Don’t forget to add a forever block to make sure that it always repeats. If u don’t it will last for the time it takes to do this ONCE.
Me: That's totally right.
Scratch in 4 years:
when green flag clicked
delete [ all]
- Discussion Forums
- » Help with Scripts
- » how do I do this