Metahuman A2F LiveLink Body animations

So i have been working on metahumans and lipsync features
All of the intergration works perfectly with nvidia audio2face but body animations is the part im stuck at
I already created the talking animation and idle animations and added state machines with transitions
I want the boolean to identify and control the transition, based on a live link data
Note that when audio is being sent and data is recorded by unreal the dot turns green otherwise stays yellow
In short stays at idle animation when the dot next to livelink is yellow and plays the talking animation when green