x);
            box.scale = [jointRadius, jointRadius, jointRadius];
          }
          	
          // Render a special box for each index finger on each hand	
          const indexFingerBox = indexFingerBoxes[hand_type];
          scene.addNode(indexFingerBox);	
          let joint = inputSource.hand.get('index-finger-tip');	
          let jointPose = frame.getJointPose(joint, xrRefSpace);	
          if (jointPose) {	
            let matrix = jointPose.transform.matrix;
            mat4.getTranslation(i