title: Javascript override user mouse event
body: <p>I have a bit of javascript that will allow the user to move stuff around using the mouse, so the user can click and drag things around, which is working all fine, but what I am struggling with is being able to override the users click event.</p>
  
  <p>So what I am trying to do is, if the user moves the item to a certain position I want to stop the click and hold event, this would mean the user would have to the go an reselect the item again and click and drag again.</p>
  
  <p>Can you override the users mouse action from javascript? It seems simple but I am unable to find a way in my javascript to stop the mousehold event</p>