Is there a way to listen to events such as Mouth Open through the SDK API?

Hi :slightly_smiling_face:
I would like to know if the SDK API allows for listening to events such as Mouth Open, Mouth Closed etc. I can’t seem to find it. If it’s not there, is there any other way that would allow to dynamically inject some input/code into the effect from an app?
Thanks

The closest there is to that is the AnimationTransitionedCallback callback. If used with an effect that has empty animations triggered when e.g. the mouth is opened, you can run some code when the mouth is open.

Otherwise, if you use scripting in the Studio, you can set variables for scripting from your app using the set*Var functions.

@igor
I will try that and report back. Thanks a lot :slight_smile:

1 Like