Image Bitmap Z Property

Can somebody help me how to make images prioritize above and below each other I can't figure out the right code for it...

this._above = new Sprite(); this._above.bitmap = ImageManager.loadSystem('Above'); this._above.z = 2; this.addChild(this._above); this._below = new Sprite(); this._below.bitmap = ImageManager.loadSystem('Below'); this._below.z = 1; this.addChild(this._below);I have these codes in a scene where in I will display 2 different images 

but then whichever I code last will be the one above. In this case, "_below" is actually above "_above".

Am i doing something wrong?
They will be displayed based on the order that you call the addChild method.
this.addChild(this._below);The addChild function places the sprite you are creating onto the this object - as you are doing this after all the other things have been added, like the window and its contents sprites, yours will be set to the most recent layer - ie, the closest to the screen.

Sure Zalerinian wrote a topic about it.
so apparently the .z property will be ignored? I see I'll try it out again.

Thanks guys, I'll post if I still have question about this

also can you redirect me to that topic?
so apparently the .z property will be ignored? I see I'll try it out again.

Thanks guys, I'll post if I still have question about this

also can you redirect me to that topic?
here you are!
Wow this is now much more complicated than I thought... Thanks btw! 🙂 I had it worked with the other windows. 

Original thread: https://forums.rpgmakerweb.com/threads/image-bitmap-z-property.47844/