entity is no longer 'inside' the layer of the map shape they overlap, we need to start there and then check other layer shapes to see if we're in front.
[x] first pass with box bounds
[x] left or right outside box defer (not behind)
[x] boxes overlap:
[x] for circle/ovals use centroid (object x, y)
[x] for box shapes if they are not rotated or rotated 90,180, 270...
[x] for polygon shapes use cp nearest shape query normal
[x] careful if the edge is facing the inside or outside of the shape
What about ignoring entities and layer elements off screen?
entity is no longer 'inside' the layer of the map shape they overlap, we need to start there and then check other layer shapes to see if we're in front.
What about ignoring entities and layer elements off screen?