I have created a scratch card and now want to attach a coin to the mouse if the mouse is within certain coordinates and have the coin un-attach itself once the mouse leaves the specified coordinates. How do i do this?

I used startDrag ("coin", true, 56.0, 118.0, 272.0, 330.0); but then the user can't click on anything outside of this block.

Please help!