Body Detection
![body detection](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/body_detection-fc055c42b3b608c7e9f6e86df7674e4d.png)
Use Body Detection to trigger the next node when the camera detects a body interacting with the camera viewport. Body Detection is in the Body category.
Output
Name | Data Type | Description |
---|---|---|
Begin | Trigger | Execute the next node when any part of the body is detected. |
Stay | Trigger | Keep executing the next node while the body stays in the camera viewport. |
End | Trigger | Execute the next node when the body disappears. |
None | Trigger | Keep executing the next node when no body is detected. |
Example
![body detection example](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/body_detection_example-0a0e4617e4546f330ccb3154b25b12e2.gif)
This example uses Body Detection to show and hide the alien avatar.
![body detection node](http://lf16-tiktok-common.tiktokcdn-us.com/obj/tiktok-web-common-tx/effect/learn/assets/images/body_detection_node-62b9118a6bac4cf1fe17abddc0efef7e.png)