if (obj_pl.y < y) depth = (-y) else depth = 500