Sprite that can be in front and behind the character

Hi guys

I currently have this wall
How do I do when I’m in front of him, the character is on top of the sprite?

I do not know if I can explain myself, I hope the image do

How you do this depends on how your world is set up, in 3D. If it’s really all at the same Z value, then you have to adjust your sprites’ sortOrder according to their Y position. So, objects lower down the screen (according to their pivot point) will appear in front of objects higher up.

1 Like