Picture of the game:
So I'm currently creating a top-down game, sort of. Have a look at the image I linked. I've figured out a way to make the player be on top of an object;
obj.Y < player.Y --> obj move to bottom of layer
obj.Y > player.Y --> obj move to top of layer
(I have the player and the objects on the same layer).
However, this requires incredibly many events because it has to be made for every single object + if i have an enemy (or anything else moving around for that matter) i have to do it all over again!
I hope that someone has a solution to this because I can't figure it out myself. Thanks in before-hand!