Active state on paging

I have a horizontal scroll container set to Paging with 3 x card components inside. When a card is in the centre it is active and I want to add a border to it.

I’ve tried adding a Range (between 0 - 300 as width of card) to the scroll container set to scroll to send a message to the component and then the component receives the message and adds the border change but I can’t get anything to work at all. I don’t understand what I’m doing wrong.