// Update is called once per frame
 new void Update()
 {
     if (formInput)
     {
         if (Hands.Right == null || Hands.Left == null)
         {
             Destroy(freeFormLine.gameObject);
             Destroy(rightFreeFormLine.gameObject);
             leapControl.freeFormFailureHandler();
         }
         if (frameCount >= 18)
         {
             Debug.Log(frameCount);
             //Add points to the line renderer and the point lists
             Vector3 rightPos = Hands.Right.PalmPosition.ToVector3();
             Vector3 leftPos  = Hands.Left.PalmPosition.ToVector3();
             if (rightPos.y == 0f || leftPos.y == 0f)
             {
                 return;
             }
             #region Line Renderer adding
             freeFormLine.positionCount++;
             freeFormLine.SetPosition(freeFormLine.positionCount - 1, leftPos);
             rightFreeFormLine.positionCount++;
             rightFreeFormLine.SetPosition(rightFreeFormLine.positionCount - 1, rightPos);
             rightPoints.Add(rightPos);
             leftPoints.Add(leftPos);
             #endregion
             frameCount = 0;
         }
         else
         {
             frameCount++;
         }
     }
 }