Skip to main content

Head Movement Detection

Use Head Movement Detection to detect head movement in the scene.

head movement detection node

Input

NameData TypeDescription
DetectStringThe head to detect movement for. Head 0 represents the first head appearing in the scene, Head 1 represents the second head appearing in the scene, and so on. Any represents any head in the scene.
Head MovementStringThe movement of the head, including Head Shake, Head Nod, Tilt Right, and Tilt Left.

Output

NameData TypeDescription
BeginExecExecute the next node when the head movement starts.
StayExecKeep executing the next node when the head movement is in progress.
EndExecExecute the next node when the head movement ends.
NoneExec ArrayKeep executing the next node when the head movement is not detected.

Example

This example has a sphere appear when the user shakes their head left and right. Additionally, if they nod their head up and down, a cube will appear.

head movement detection node

Demo Effect

See Head Movement Detection in action with the This or That template in Effect House.

this or that template