How to accessing nesting Collider?

Hello all:smile:
I’m will to create a scene,need to accessing a Collider in a Collider,How can To achieve this function?

Please look to this gif:
I can accessing this “OtherCollider”,Don’t can accessing this"InSideCollider".

Thank all

417349--14472--$About_Collider.gif
417349–14473–$About_ColliderInColliderOfAnchor.unitypackage (5.4 KB)

Put the outer collider in a different layer, and use a LayerMask to ignore that layer in the raycast that’s detecting the object.

First thank you!:wink:
Just ,I can only use raycast ? Don’t can use OnMouseEnter()?