Constrained grab

Bob Sneidar bobs at twft.com
Sat Jan 21 23:02:31 EST 2012


Oh, it was the blob that threw me. I was certain that LC did not provide a "blob" object. :-)

Bob


On Jan 21, 2012, at 1:27 PM, Richmond wrote:

> On 01/21/2012 10:30 PM, Bob Sneidar wrote:
>> Richmond has been imbibing again...
>> 
>> 
> 
> Not so:
> 
> on mouseDown
>  set the idleRate to 0
>  grab me
> end mouseDown
> 
> on mouseStillDown
>  set the loc of me to (item 1 of the loc of me, 250)
> end mouseStillDown
> 
> try it!
> 
> admittedly one's object does perform a slightly drunken wobble . . .  :)
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list