title: detecting movement on touch began phase in Corona SDk
body: <p>In my application I want an object to slide and jump on <em>touch began</em> event in Corona. Although I am successful in implementing both slide and jump on <em>touch ended</em> event, but making event phase at <em>began</em> I can't do slide.</p>
  
  <p>I use the following code for sliding and jumping:</p>
  
  <pre><code>function touched( event )
    if(event.phase == "ended") then
      if(event.x - event.xStart &gt; 70) then
        sliding = true;
        offGround = true; 
      else
        boy:applyLinearImpulse(0, -0.44, boy.x, boy.y)
        offGround = true;
      end
    end
  end
  </code></pre>