how do I do this

id: 751081

category: Help with Scripts

posts: 3

RodrigoTeeV RodrigoTeeV loading
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.
Hmmm..

if <touching [edge] ?> then
broadcast [touching edge]
end

when I receive [touching edge]
hide
boxerry boxerry loading

--Irrelevant wrote:

Hmmm..

if <touching [edge] ?> then
broadcast [touching edge]
end

when 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.