Method to reset the { offset: [x, y] } or first gesture. #288
Unanswered
wileyknight
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I think it's fairly easy to do this in userland, this would add extra logic to the lib. Although the handler could export a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am creating an interaction in three.js and it would be helpful to be able to reset the offset or first gesture when it crosses a threshold.
Example:
I need to know the distance from the initial gesture but I also want to reset it as a new starting point when I get to a new "area" or even click a button or some other interaction. I can do this on my own but it would be pretty convenient if there is already a method.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions