- Home /
Question by
shacharoz · Oct 25, 2020 at 06:24 PM ·
spritemaskinteraction
detect if a click on sprite falls inside or outside its SpriteMask
unity 2019. Sprite renderer with a SpriteMask. im showing the inside only. if I click on the sprite, I trigger an event.
my problem is that is I click on the masked content, the one that is invisible, the event is still triggered.
any ideas, or simple solutions that I do not know of?
thanks
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613014526im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
2D Sprite round corners 1 Answer
Mask Interaction outside of a Sorting Group 0 Answers
How to use a mesh as a sprite mask 1 Answer
Sprite Mask to mask portion of a sprite 0 Answers