Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Clone Detection
- Gold3n_3388
-
8 posts
Clone Detection
I heard somewhere that clones in Scratch 3 can now detect other clones of the same sprite, but how is that possible? I mean, detection by color is always viable but I just want to know this new method. Thanks!
- deck26
-
1000+ posts
Clone Detection
In Scratch 2 the ‘touching sprite’ block would always be true if you told sprite A (or a clone) to check for touching itself. Now it is only true if the sprite/clone is touching another clone of the same sprite.
- Gold3n_3388
-
8 posts
Clone Detection
Well that's neat, but how would that be possible?
When using the block below…
it's impossible for the clone to be able to detect itself, as the option for the sprite is not there.
When using the block below…
<touching [ v] ?>
it's impossible for the clone to be able to detect itself, as the option for the sprite is not there.
- StrangeMagic32
-
1000+ posts
Clone Detection
go into another sprite and set it, then copy it over
- firydragony
-
22 posts
Clone Detection
i havent tested this but it would be like
<touching [<<> and <>><touching color [#e07baf] ?> v] ?>
- deck26
-
1000+ posts
Clone Detection
Yep, that's the method. Sprite B will include sprite A in the list and you can copy the block across. go into another sprite and set it, then copy it over
- Discussion Forums
- » Help with Scripts
-
» Clone Detection