Um. I want 800 x 600 size space
public Controller leap;
void Update () {
int appWidth = 800;
int appHeight = 600;
InteractionBox iBox = leap.Frame().InteractionBox;
if (leap.Frame().Hands.Count > 0)
{
Hand hand = leap.Frame().Hands[0];
Finger finger = hand.Fingers[1];
Leap.Vector leapPoint = finger.StabilizedTipPosition;
Leap.Vector normalizedPoint = iBox.NormalizePoint(leapPoint, false);
float appX = normalizedPoint.x * appWidth;
float appY = (1 - normalizedPoint.y) * appHeight;
//The z-coordinate is not used
}
}