title: Rotating object to face mouse pointer on mousemove
body: <p>I've got a mousemove cursor in my game which will make my object shoot towards my mouse cursor. I'd like my object to always rotate along to be in line with my mousecursor. How can i  convert the X and Y of where the cursor is to a degree angle to rotate my object to?</p>
  
  <p>I hope my fiddle will make things a little clearer of to what i mean by rotating the player(Black block): <a href="http://jsfiddle.net/3nEUv/4/">http://jsfiddle.net/3nEUv/4/</a></p>
  
  <p>Here's my mouseMove function now; Only making sure the cursor remains in it's bounding box</p>
  
  <pre><code>function mouseMove(e) {
      if (cursor) {
          if (e.rawX &amp;&amp; e.rawY) {
              cursorBoundingBox(e.rawX, e.rawY);
          }
      }
  }
  </code></pre>