I’m using the 2D Collision system and I have two overlapping 2D Colliders. I want one of them to always get clicked when it is overlapping the other (I’m using a simple camera 2d raycast). Essentially, I want a 2d collider to be ‘in front of’ other colliders.
As far as I can see, there’s no Z coordinate for 2d colliders and no equivalent of order-in-layer to handle this kind of priority. So my question is: is there a way to set 2D Colliders to be in front or behind each other?