Sprite disappears in Scratch even when touching another sprite
In my salon puppy project, I got a problem when I got to the necklace section. I want all unused necklaces to disappear when they receive the message m11
, but in order to stay on the puppy. Right now, however, all the necklaces are disappearing.
This is the code that runs when a necklace is assigned to a puppy:
Which puts it on top of the puppy sprite.
And when the page is promoted (this is in the sprite arrows):
This message is received by every necklace:
My whole project is here .
source to share
Well, here's a little hint that will probably make you realize your mistake! If all necklaces are received m11
, which necklaces will disappear? Well still stumped? I'll tell you. If all necklaces are received m11
, then they will all disappear! So you will need to modify the script to make the necklace currently on display, but hide the rest!
source to share