title: Decreasing scale depending on touch movement speed
body: <h1>I want my object scale to decrease depending on touch movement speed.</h1>
  <p>Here's my script that didn't work:</p>
  <pre><code>if (Input.touchCount &gt; 0 &amp;&amp; canRub)
      {
          Touch touch = Input.GetTouch(0);
          if (touch.phase == TouchPhase.Moved)
          {
              scaleX -= transform.localScale.x / (strengthFactor * sM.durabilityForce);
              scaleY -= transform.localScale.y / (strengthFactor * sM.durabilityForce);
              scaleZ -= transform.localScale.z / (strengthFactor * sM.durabilityForce);
              transform.localScale = new Vector3(scaleX, scaleY, scaleZ);
          }
      }
  </code></pre>
  <hr />
  <p>For example if move finger slowly object will reach his scale.x == 0.3 for 5 seconds, but if he move his finger fast enough, he will achieve this scale for 3 seconds.</p>