So i wanna make a beat em up game, you see the player from the side but you can also walk up an down. So i need to fix following: When the player is on the y axis higher than another object, the player have to be behind it and when the player's y axis is lower than the object , he is in front of it. Exist there something like to change the drawable objects hierarchy while the game i running and compare the y- axis of the booth?