Code request for interactable ScrollBar

Hello,
The ScrollBar in Cocos creator is not interactable in the traditional web scrollbar way where you can click and drag on the bar itself to scroll.
I saw some people on the forum talking about this too, and people in those threads said they had to write this code themselves.
I tried to get this working yesterday but I am struggling a lot.
Does anyone happen to have a script for an interactable ScrollBar?

Thanks in advance.