Applying Script On perticuler gesture(e.g RaiseRightHand) detected by KinectV2

I am trying to set a function e.g. playing animation, activating objects, etc. on a specific gesture e.g. RaiseRightHand, SwipeRight, etc. by a specific player detected by Kinect V2. I am setting to detect 3 players and to run different scripts on a gesture by them. I have done this with Leap Motion and it was easy. But could not find any way to do that with kinect. Does anyone know how to do it?? Thanks in advance.