Gavin Sim wrote:
> 
> Is it possible to drag a sprite and then when you release the mouse the
> sprite will return to its original position?
> I know how  to drag them but not return it to the position.

 - at the beginning of the mouseDown handler, record the sprite's loc
 - in the mouseUp handler put the sprite back to it's original loc.
-- 
Carl West    [EMAIL PROTECTED]
617.262.8830 x246    

I have no superfluous leisure; my stay must be
stolen out of other affairs; but I will attend you awhile.

           - Isabella, Measure for Measure, Act 3 Scene 1

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to