Question by
danny1111 · Feb 11, 2016 at 10:42 AM ·
raycastcollideronmousedownclick objects
Raycast with image over collider
I'm using a 'OnMouseDown' function to check if my collider is being clicked on. I've got it so that when I click on the image, it does what I want to it to (using an event trigger) but I don't want the collider to react if I click the image on top of the collider. Can anyone help? Can I use raycast?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612063732im_/https://answers.unity.com/themes/thub/images/avi.jpg)