Skip to main content

Detect Face Movement to Show/Hide Object

Shows or hides the target object when the selected facial movement is detected.

Input​

NameData TypeDescription
TargetScene ObjectThe object to be shown or hidden.
DetectStringThe face whose movement will be detected. Face 0 represents the first face that appears in the scene, Face 1 represents the second face, and so on. Any represents any face in the scene.
Face MovementStringThe movement on the user’s face.
Show/HideBooleanSelect to make the object appear and deselect to make it disappear.
Copyright © 2026 TikTok. All rights reserved.
About TikTokHelp CenterCareersContactLegalTerms of ServicePrivacy PolicyCookies