Draw a line that follows an object
dunbarxx
dunbarx at aol.com
Fri Jun 28 16:31:24 EDT 2019
Bad formatting. Which is why I so like the forums. Anywa:
local pointsList
on mouseDown
show btn 1 at "200,200"
set the points of grc 1 to "0,0" & comma & the loc of btn 1
put the points of grc 1 & return into pointsList
trackButton
end mouseDown
on trackButton
if the optionKey is down then exit to top -- exit here
set the loc of btn 1 to the mouseLoc
put the loc of btn 1 & return after pointsList
set the points of grc 1 to pointsList
send "trackButton" to me in 1
end trackButton
--
Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
More information about the use-livecode
mailing list