title: How to differentiate between hold click and drag in Phaser?
body: <p>How to know the distance of the Drag, unused PositionUP or onInputUp to differentiate a drag from a long click?</p>
  
  <p><a href="http://i.stack.imgur.com/FvVsN.pnghttp://www.html5gamedevs.com/uploads/monthly_07_2014/post-9642-0-48696600-1405440289.png" rel="nofollow">http://i.stack.imgur.com/FvVsN.pnghttp://www.html5gamedevs.com/uploads/monthly_07_2014/post-9642-0-48696600-1405440289.png</a></p>
  
  <p>it is a some code:</p>
  
  <pre><code>var fnd = game.add.group();
  var o = fnd.create(game.world.randomX, game.world.randomY, 'fon'); 
  o.events.onDragStart.add(this.DragActivo, this); 
  DragActive = function (image) {  
     //When something has been moved is drag but when something has been pressed for long time is clicked
  };
  </code></pre>