# Determining speed and direction right before user releases mouse

**URL:** <https://forum.kirupa.com/t/determining-speed-and-direction-right-before-user-releases-mouse/233690>\
**Category:** Uncategorized\
**Created:** [July 26, 2007, 2:42am UTC](https://forum.kirupa.com/t/determining-speed-and-direction-right-before-user-releases-mouse/233690 "2007-07-26T02:42:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![boonzzi](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@boonzzi](https://forum.kirupa.com/u/boonzzi)\
**Post date:** [July 26, 2007, 2:42am UTC](https://forum.kirupa.com/t/determining-speed-and-direction-right-before-user-releases-mouse/233690/1 "2007-07-26T02:42:19Z")

</div>

hi,  
i am trying to make an object that will move around with the mouse when you press it and then when you let go it will “fly off” in the direction it was last headed in with the speed depending on how fast the user was moving it right before they let go. im not really sure how “watch” works. would it be appropriate in this situation to let me know what the last speed and direction were before the user released the mouse? thanks!
