Want depth in MC_char movement!

want depth in MC_char movement!!!

we can not move the object through z axis, since there is no depth in 2D animation.
So i want to achieve it through moving the object on +y axis by decreasing the size of my object.

can u guide me how i can do that.