Open YiRonger opened 3 years ago
The following steps turn the slider in our examples into a grabbable actor:
At this point you can grab the box and manipulate the slider as a whole, or grab the thumb and change the slider as usual.
You can even do both at the same time with one hand grabbing the slider and the other the thumb. That may not be desirable, so to switch between one or the other you can listen to the grab events on either of the two grabbable components and disable the other one to have exclusive grabbing. The API here isn't very consistent unfortunately, so i had to get a bit creative to disable interactions:
Does this answer your question?
I known thank you very much!!!
Hello, I want to grab the whole uxt pinch slider actor, but I don't want to activate the Thumb. What can I do?