- Home /
How to bring empty game object in front of other Panels?
I am using a script to animate the sprite using sprite renderer on the empty game object but the sprite is rendering behind every panel. I found a solution to adjust the layer by names and that seems to be a lot of backtracking and giving every panel a layer will take a lot of time, if there is a shorter route for solving this problem
Answer by Arsyl_Games · Aug 08, 2020 at 05:55 PM
When having the empty object inside your canvas, move it as much down as you can. Than that object will be on Top off all other objects.
Your answer
![](https://koobas.hobune.stream/wayback/20220613005153im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
[Unity3D] Sprite not rendering correctly when it's too small? (Appearing like a blob) 0 Answers
How to choose a size/resolution for the sprites used as game assets in Unity2D ? 2 Answers
Unity 5.4 - Sprite Shadow 0 Answers
2d sprite Animation - Fire at frame 2 Answers
How come setting sprite tint/alpha does not increase draw calls? 0 Answers