You could register a callback function with vizact.onupdate or vizact.ontimer to check the gesture state each frame or other specified time interval and then change the avatar animation. You could also create
custom events for the different gestures and handle those events.