I'm trying to get a line to rotate with the following code
Code: Select all
on mouseUp
rotateLine
end mouseUp
on rotateLine
put the angle of graphic "myLine" into tCurrentAngle
add 10 to tCurrentAngle
set the angle of graphic "myLine" to tCurrentAngle
end rotateLine
My interpretation of the dictionary is that the line should move but I`m getting the impression that a line may not be a moveable object???
Grateful for any help.
Regards,
Glenn