- Home /
Allow clickthrough UI element but still trigger OnClick
Hi, I have a ScrollRect with a child container, which contains images that I want to be clickable, so they implement IPointerClickHandler. The problem is, when I drag to scroll the ScrollRect, the input is taken by the image and doesn't get passed to the ScrollRect.
How do I allow the images to be clicked through for scrolling, but still activate a function on click? Thanks.
Comment