title: How to detect when mousemove has stopped
body: <p>How is it possible to detect with an eventListener when <code>mousemove</code> has finished?</p>
  
  <pre><code>document.AddEventListener('mousemove', startInteractionTimer, false);
  
  function startInteractionTimer(){
    clearInterval(touchInterval);
    touchInterval = setInterval(noAction, 6000);
  }
  </code></pre>
  
  <p>I want to start the function <code>startInteractionTimer</code> immediately after the mousemove has ended and I would like to catch that. On the code example above, it is starting if the mouse is moved.</p>
  
  <p>Thanks</p>
  
  <p><strong>Edit:</strong> Alright, I answered my own question and the script above --^ is just fine.</p>