PVector fingerPositionXYPlane = new PVector();
Frame frame = getFrame();
if (frame.hands().isEmpty() == false) {
Hand hand = frame.hands().get(0);
if (hand.fingers().isEmpty() == false) {
Finger finger = hand.fingers().get(0);
fingerPositionXYPlane.x = transformLeapToScreenX(finger.tipPosition().getX());
fingerPositionXYPlane.y = transformLeapToScreenY(finger.tipPosition().getY());
}
}