How to access current Hand Gesture state string ("open", "horns", etc)?
![Daria Keller](https://us.v-cdn.net/6035977/uploads/userpics/GBCF4TYLO1WG/nX0KYF7KUQHC5.jpg)
Daria Keller
Posts: 7
Hey guys!
What is the method to access current hand gesture state? Can find it anywhere.
I know I can hardcode the outcome for each particular gesture (f.e. script.handTracker.registerDescriptionStart("open", triggerFunc), but how can I access the current state as a variable? So this variable would store current state of the hand gesture and the code looked like script.handTracker.registerDescriptionStart(currendHandGestureState, triggerFunc)
0
Best Answer
-
Found the best way is to run "for loop" of "registerDescriptionStart" with array of labels, indicating hand gestures, and control it through "switch" in triggerFunc
0