Goofy Drawing question

hh hh at
Sat Feb 25 05:07:53 EST 2017

Assuming you wish to draw, not to paint:

local gg="goofy", fc="255,0,0", ls=3

on mouseUp
  lock screen
  if there is no grc gg then create grc gg
  set style of grc gg to "polygon" -- or "line"
  set points of grc gg to (250,250),(375, 375)
  set lineSize of grc gg to ls
  set forecolor of grc gg to fc
  unlock screen
end mouseUp

More information about the use-livecode mailing list