Hello. I need a help. How can I change z index?
Develop games in your browser. Powerful, performant & highly capable.
You really should tell us, why you need to change the z-index. We can't help you without that info.
Do you try to put the sprites in the right order along the y-axis?
Then do, what arima says here: