Hand Detection
![hand detection](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/hand_detection-0b4d54912bf5ae992fd8e247cb54f757.png)
Detect one or two hands in the scene. Hand Detection is in the Hand category.
Input
Name | Data Type | Description |
---|---|---|
Type | String | The detection type: Single hand or Both hands. |
Output
Name | Data Type | Description |
---|---|---|
Begin | Exec | Execute the next node when the hands are detected. |
Stay | Exec | Keep executing the next node when the hands stay in the scene. |
End | Exec | Execute the next node when the hands disappear. |
None | Exec | Keep executing the next node when no hands are detected. |
Example
![hand detection example](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/hand_detection_example-fcf6a12a9453b32f864edf1e3378a37a.gif)
This example uses Hand Detection to hide and show the sphere.
![hand detection node](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/hand_detection_node-191ad229a96a1171fc4965312cf345d7.png)