2D Sprites merging together!

Hey, I’m having a problem with 2D Sprites. I’m trying to incorporate 3 layers. Backgrond, playground, and foreground. Names should be self-explanatory. The background works fine but for some reason the foreground layer seems to merge with both the back AND playgrounds.

Here’s what its supposed to look like…

Any ideas on how to fix it?

Hey @The_NotReal_Mr_T! Welcome to the forums!

Do you have your Z-order set up for the sprites? If so, can you show us how they’re laid out so we can take a look? :slight_smile:

Z-Order? I actually don’t know what that is, haha…
If you’re talking about where the water is on the Z-Axis I actually moved it away from where the screenshot shows it so it isn’t visible, at least until I find out how to fix it.

So what ZOrder is: it’s a number that determines what goes in front and what goes behind in a 2d Game.

I actually found a video specifically made for someone else here on the forums explaining ZOrder and how to fix the specific issue you are having :slight_smile:

Disclaimer: this video is not associated with Epic Games, Unreal Engine, or it’s partners.

1 Like

Alright, it’s working now! Thank you! ^^

1 Like