Discuss Scratch

monkeyfaceclay
Scratcher
5 posts

Layer Bug

In my game the two sprites are on the Front layer even though it is set to be three layers behind the front layer.

Last edited by monkeyfaceclay (Aug. 24, 2019 00:22:25)

codeman1044
Scratcher
1000+ posts

Layer Bug

The objects it's trying to hide behind are just likely more than 3 layers back. Just increase how many layers back your sprite needs to go until it goes to the correct layer.
UnconstructivePoster
New Scratcher
100+ posts

Layer Bug

What sprites are layered in front of them? There's only one sprite per layer, so the buttons would only be behind three or four other sprites - which might be nowhere near the buttons at all.

If you want a sprite layered behind another sprite, you'd have to keep moving it back until it's on the layer behind that sprite, which can be tricky to pull off sometimes.

EDIT: are you trying to move them behind the counter part of Sprite3? In that case, since the gray background is also part of Sprite3, you wouldn't be able to do that - either the buttons would be completely in front of Sprite3, the way they are now, or completely behind and out of view.

Last edited by UnconstructivePoster (Aug. 24, 2019 00:35:26)

monkeyfaceclay
Scratcher
5 posts

Layer Bug

The objects it's trying to hide behind are just likely more than 3 layers back. Just increase how many layers back your sprite needs to go until it goes to the correct layer.
Thanks a lot! This helped a bunch!
monkeyfaceclay
Scratcher
5 posts

Layer Bug

What sprites are layered in front of them? There's only one sprite per layer, so the buttons would only be behind three or four other sprites - which might be nowhere near the buttons at all.

If you want a sprite layered behind another sprite, you'd have to keep moving it back until it's on the layer behind that sprite, which can be tricky to pull off sometimes.

EDIT: are you trying to move them behind the counter part of Sprite3? In that case, since the gray background is also part of Sprite3, you wouldn't be able to do that - either the buttons would be completely in front of Sprite3, the way they are now, or completely behind and out of view.
Thanks a lot I think I fixed it and also, Nope I was just trying to get it out of view!

Last edited by monkeyfaceclay (Aug. 24, 2019 00:52:47)

sir2000
Scratcher
2 posts

Layer Bug

I need help in my new game https://scratch.mit.edu/projects/399243244/
deck26
Scratcher
1000+ posts

Layer Bug

sir2000 wrote:

I need help in my new game https://scratch.mit.edu/projects/399243244/
So create your own new topic and ask there.
DragonzSamurai21
Scratcher
14 posts

Layer Bug

Same thing is happening with my game and i have no idea how to fix it.
deck26
Scratcher
1000+ posts

Layer Bug

DragonzSamurai21 wrote:

Same thing is happening with my game and i have no idea how to fix it.

deck26 wrote:

sir2000 wrote:

I need help in my new game https://scratch.mit.edu/projects/399243244/
So create your own new topic and ask there.
joshuaho
Scratcher
1000+ posts

Layer Bug

Hey folks - this thread is rather old. Please feel free to make a new topic if you have a new question regarding to project scripting. Doing so will make it easier for others to find your question.

It would also be a good idea to share your project and provide a link to it, so others will be able to see what exactly needs to be fixed.

Powered by DjangoBB