Interacting with nested colliders simultaneously?

Let's say I have a collider B that is nested inside of collider A (as are their gameObjects)

When I onmouseover/enter A, I want gameObject A to move to the left. When I onmouseover/enter B, I want gameObject B to turn green.

I'm not sure how to do this simultaneous mouseover detection if collider A is blocking/masking collider B.

At this point, I essentially have a 2-step detection where the first step destroys the first collider. I want something better. :)

Any tips or pointers appreciated!

You need to use raycasts to detect where your mouse is and return all the hits on the ray with raycastall. Then you can fire off however many functions for each collider you have.