Dragging an object
Richmond
richmondmathewson at gmail.com
Fri Jul 11 01:14:22 EDT 2014
On 11/07/14 03:24, Peter Bogdanoff wrote:
> <snip>
> I tried using the grab command, but I couldn’t seem to be able to restrict the Y coordinate with that.
>
>
<snip>
on mouseDown
grab me
end mouseDown
on mouseUp
set the moveSpeed to 65000
put item 2 of the loc of me into LCK
move me to ZZZ, LCK
end mouseUp
where 'ZZZ' is the fixed lateral location.
I've set the moveSpeed way up high so the movement is not seen.
Richmond.
More information about the use-livecode
mailing list