In this tutorial I will go over the simplest way to make a Z sorting system. This system is very simple to write and to understand. On every frame, we want to r...
or, set the Z to that of the Y position :)
If you mean the z elevation, you can also do that :)
Just be sure not to set it to values too big or you might have an unwanted perspective effect (or maybe it is wanted and in that case it's great)