Sticking an image to the cursor

Scott Rossi scott at tactilemedia.com
Sat Oct 11 14:40:23 EDT 2008


Recently, Klaus Major wrote:

>> Is is possible for an image to smoothly "stick" onto the cursor? I
>> am working on a jigsaw puzzle for children. I know that I can set
>> the image to the mouse location, but it is very choppy and and the
>> image will drop if the user accelerates mouse speed and it can't
>> leep up.
>> 
>> Thanks in advance!
> 
> did you try the "grab" command?
> That may be the solution for you.
> 
> Put this into the script of your jigsaw image(s)
> 
> on mousedown
>    grab me
> end mousedown
> 
> That's all to make <an image smoothly "stick" onto the cursor> :-)

Ah, I just re-read the request.  If Sue's not looking to replace the cursor
with an object, this makes much more sense to move objects around a card.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design





More information about the use-livecode mailing list