Use Gesture Detection to detect gestures. Gesture Detection is in the Hand category.
|Detect||String||Decide which hand for gesture detection, including Hand 0, Hand 1, Either, the device will track either hand if choosing Either.|
|Gesture||String||Gesture types including Backhand 3-finger Pointing Up, 4-finger Pointing Up, Fist, Open Palm, “I Love You”, Horns, Index Finger Up, Victory, Thumb Up, Hand Heart (Thumb Up), Hand Heart (Thumb Down), Open Fist Heart, Finger Heart, Index Pointing, 2-finger Pointing, 3-Finger Pointing Up, OK, “Call Me”, V (Thumb and Index ), Touching Palms, Kung Fu Salute (Fist Uncovered), “Pray”, Palm Up, Kung Fu Salute(Fist Covered), Wrist V, Salute, Palm to Front, Pinched Fingers, Thumb Down, Index and Middle Pointing Up|
|Begin||Exec||Execute the next node when the hand gesture moves from “undetected” state to “detected” state|
|Stay||Exec||Keep executing the next node when the hand gesture stays detected|
|End||Exec||Execute the next node when the hand gesture moves from “detected” state to “undetected” state|
|None||Exec||Keep executing the next node when the hand gesture is not detected|
In this example, we use Gesture Detection (“Index Finger Pointing Up”) to control the single UFO and Gesture Detection (“Victory”) to triple UFOs. Check Animation Sequence for how to add an animated images.
In the Gesture drop-down menu, we can choose any of the gestures listed in Hand Gesture Examples.
In the Hand Index drop-down menu, we choose “Either” to recognize either left or right hand. Hand 0 is the first hand that appears, and Hand 1 is the latter hand that appears.