What do the layers mean?

Here are the 2 ways to layer overlays. You just need to make sure the overlay layer is lower than the character layer if you want the overlay to be behind the character.