Scrollview disable touch

Dear cocos community,

I am trying to figure out a way to prevent the Scrollview component from scrolling on touchdown and move. I simply want to scroll through mousescroll or dragging the scrollBar component. I can add touch events to he scrollBar but it keeps firing the parent Scrollview events.

Solved it by setting vertical property to false on load and setting it to true for the desired events.

1 Like