Put sprite above layer

Hola,

I build the map dynamically, with dynamicLayers.
But I’ve got an issue, the characters are behind the layers :

I’ve tried to change the z property of both the layer and the character but that isn’t enough it seems.
How can I put characters above the ground ?

You need the depth property. z and w are almost always unused. Alternatively, you can add your player character after adding the layers.

depth indeed ! Thank you sir.