Skip to main content
TikTok Effect House Platform Logo
Latest
Download
Log in
Interaction

Detect Face Attributes to Show/Hide Object

Detects a user’s face attributes and shows/hides the target Scene Object when the selected face attribute is detected.

Input

NameData TypeDescription
TargetScene ObjectThe object to be displayed
DetectStringThe face whose attributes will be detected. Face 0 represents the first face appearing in the scene, Face 1 represents the second face, and so on. Any represents any face in the scene.
Face Attribute ReferenceNumberThe reference to which the detected face attribute is compared
VisibilityBooleanSelect to make the Scene Object appear, deselect to make it disappear