Recognize of rising hand

Hello.
I am developing Unity applications with Nuitrack skeleton recognition.
The dance game Nuitrack have left-hand rising recognition to exit the application.
How to detect this gesture? Could not find any references in the documentation.

Dear Igor.

The left-hand rising gesture was custom for the dance app. Here is an example of a method for determining this gesture (you can change the values to achieve the required accuracy).

To determine this gesture, it is enough to determine the angles of deviation of both hands relative to the shoulders.

bool CheckGesture()
{
    nuitrack.Skeleton skeleton = CurrentUserTracker.CurrentSkeleton;

    if (skeleton == null)
	    return false;

    Vector3 leftHandPos = skeleton.GetJoint(nuitrack.JointType.LeftHand).ToVector3();
    Vector3 rightHandPos = skeleton.GetJoint(nuitrack.JointType.RightHand).ToVector3();

    Vector3 leftElbowPos = skeleton.GetJoint(nuitrack.JointType.LeftElbow).ToVector3();
    Vector3 rightElbowPos = skeleton.GetJoint(nuitrack.JointType.RightElbow).ToVector3();

    Vector3 leftShoulderPos = skeleton.GetJoint(nuitrack.JointType.LeftShoulder).ToVector3();
    Vector3 rightShoulderPos = skeleton.GetJoint(nuitrack.JointType.RightShoulder).ToVector3();

    return CheckAngle(leftShoulderPos, leftElbowPos, 135) && CheckAngle(leftElbowPos, leftHandPos, 135) &&
	    CheckAngle(rightShoulderPos, rightElbowPos, 85) && CheckAngle(rightElbowPos, rightHandPos, 85);
}

bool CheckAngle(Vector3 v1, Vector3 v2, float targetAngle)
{
    float luft = 25;
    Vector3 dir = v1 - v2;
    float angle = Mathf.Atan2(dir.y, dir.x) * Mathf.Rad2Deg;

    return Mathf.Abs(angle - targetAngle) <= luft;
}

Please let me know if you have any other questions.