I have a canvas that features a rotating carousel of card meshes. Each card has an onClick function that navigates to a unique URL. The navigation works, but the problem that I’m running into is that since the cards are 3d, if there’s any overlap and there’s a card directly behind the one that I click at the point that I click on it, it ends up going to the url of the card at the back instead of the one in the front. So to go to the url of any card in the front, I have to actively check to make sure that there’s no card directly behind the space where I click. Is there any way to avoid this behavior for overlapping 3d elements?
Here’s what the carousel looks like for reference: