depth?

Heya! New to Gevelop here.

i got a question. how does depth work? like i want the player to overlap an object when in front of it, but stay behind when behind the object.

You have to do it manually, changing the Z-order (order of draw) in function of the Y position of the objects, for example:

Do = Player.PointY(feet) to the Z-order of Player

Of course, it assumes every other object in the scene has the Z-order corresponding to its Y position.

Thanks it worked. Good luck on whatever you’re studying!