Question by
MassiGamingRo · Sep 12, 2016 at 06:01 PM ·
2d gamesprites
The sprite has gone behind the background in a 2D game in unity 5
The other day my game worked perfectly fine.And the next day when i open the project the sprite is behind the backround.
untitlestesetd-1.jpg
(109.2 kB)
Comment
Best Answer
Answer by TBruce · Sep 12, 2016 at 06:02 PM
The Z position of the background needs to be greater than or equal to the Z position of the sprite
Or the Order in Layer of the sprite needs to be greater than the Order in Layer of the background
@$$anonymous$$assiGa$$anonymous$$gRo Did this fix your problem?
Your answer
![](https://koobas.hobune.stream/wayback/20220612092652im_/https://answers.unity.com/themes/thub/images/avi.jpg)