Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » i don't know why the sprites keep coming to the front layer :sob:
- Cat_Lover4132
-
Scratcher
90 posts
i don't know why the sprites keep coming to the front layer :sob:
the subject explains it, in https://scratch.mit.edu/projects/943694626 the marshmallow and fire sprite keep on moving to the front layer in front of the text and blocks it ugh
- rodper6635
-
Scratcher
100+ posts
i don't know why the sprites keep coming to the front layer :sob:
the script telling your sprites to go to the back layer doesn't stop. replace the “bye-bye” broadcast with
when green flag clickedfor all of your description sprites.
forever
if <(costume #) = [1]> then
go to back
else
go to front
end
end
- medians
-
Scratcher
1000+ posts
i don't know why the sprites keep coming to the front layer :sob:
the script telling your sprites to go to the back layer doesn't stop. replace the “bye-bye” broadcast withDo you mean like this?
for all of your description sprites.
when gf clicked
forever
if <(costume #) = [1]> then
go back ((1) / (0)) layers
else
go to front
end
end
- rodper6635
-
Scratcher
100+ posts
i don't know why the sprites keep coming to the front layer :sob:
There's a dropdown in the go to front layer block so you can change to go to back layer. Was it not like that before?the script telling your sprites to go to the back layer doesn't stop. replace the “bye-bye” broadcast withDo you mean like this?
for all of your description sprites.when gf clicked
forever
if <(costume #) = [1]> then
go back ((1) / (0)) layers
else
go to front
end
end
Last edited by rodper6635 (Dec. 25, 2023 14:36:30)
- medians
-
Scratcher
1000+ posts
i don't know why the sprites keep coming to the front layer :sob:
There's a dropdown in the go to front layer block so you can change to go to back layer.Oh I forgot that existed, there was no go to back in 2.0:

You have to do this to color it in scratchblocks.
go to [front v] layer ::looks
- Cat_Lover4132
-
Scratcher
90 posts
i don't know why the sprites keep coming to the front layer :sob:
thank you all for this!! now i can add more marshmallows <3
- Cat_Lover4132
-
Scratcher
90 posts
i don't know why the sprites keep coming to the front layer :sob:
WAIT THIS ALL MADE IT WORSE WHAT DO I DO-
- rodper6635
-
Scratcher
100+ posts
i don't know why the sprites keep coming to the front layer :sob:
Ok I checked and you don't need 50 broadcasts just to say go to back layer. Just do the scripts we showed and it'll be fine. I've fixed the code here.
Last edited by rodper6635 (Dec. 25, 2023 17:43:32)
- Discussion Forums
- » Help with Scripts
-
» i don't know why the sprites keep coming to the front layer :sob:


