How to make a different reaction by different scroll distance?

Hello, I want make a interactive like this
when you scroll long enough,it jump to another page
when you scroll not long enough,it stays

I have tried many ways but failed
The jump will definitely happen if I add a scroll jump to a element (scroll begin,release,or end)
But I only want it happen if I scroll enough distance

Any suggestion to make it ?
please help me,Thanks !