Detect If Scrollrect Is In Scroll State [solved]

I’m trying to make snapping to item in ScrollRect.
To do this I start coroutine inside OnValueChanged.The coroutine waits for 0.5 second and then snaps scroll position to nearest item.The problem is snapping occurs when user still scrolls scrollrect.
Ideally would be to not start coroutine if scrollrect is in scrolling state.But there is no flag to detect it.
I can’t use event trigger as it blocks mouse events from being consumed by scrollrect.
Any suggestions?

Just found OnBeginDrag/OnEndDrag virtual methods which are exactly what I need

a helpful tip: go to “edit thread” and add [SOLVED] to your thread

sure