I created a parallax background, and I want that some of its elements goes in front of the player, I have tried changing the parallaxLayer Z ordering to 2 and its children sprite2d, and set my players Z ordering to 1 but the player is still in front of those said elements.
tried adding a canvasLayer and set it as a parent of parallaxLayer but it gives me an error saying that parallaxLayer node only works when set as a child of a parallaxbackground node.
Every ParallaxBackground is a CanvasLayer, because the class ParallaxBackground is derived from the class CanvasLayer (it inherits all properties).
You will find this property next to other properties on the right side of the editor window.