- Home /
Terminate drag while mouse is still down
I'm trying to make Drag&Drop functionality. When user drags item out of ScrollView, ScrollView needs to stop following mouse.
So Imagine some standard Unity UI ScrollView. You grab it with your mouse and start dragging it so it is scrolling with your mouse. Now how do you programmatically make it stop scrolling while mouse button is still down? Is there any way to make ScrollRect think that user is released mouse button?
Your answer
Follow this Question
Related Questions
Scroll Rect Min/Max Size 0 Answers
How can I programmatically tween a Scroll View to a desired position? 0 Answers
Changing ScrollView content from the script 0 Answers
Scroll View: Is there a way to discriminate and accept only certain PointerEvents? 0 Answers
ScrollRect not working on mobile at certain resolution 0 Answers