function LMFrame(%id)
{
   // Output some information about this frame to the console
   echo( "Frame " @ %id @ " time: " @ %id.getFrameRealTime() @ " hands: " @ %id.getHandCount() );
}

$LeapMotion::GenerateWholeFrameEvents = true;
moveMap.bind( leapmotion, lm_frame, LMFrame);