Quantcast
Viewing all articles
Browse latest Browse all 794

Getting Started with LiveCode - Complete Beginners • I can`t get a line to rotate!

Hi everyone,

I'm trying to get a line to rotate with the following code

CODE:

on mouseUp rotateLine end mouseUpon rotateLine put the angle of graphic "myLine" into tCurrentAngle add 10 to tCurrentAngleset the angle of graphic "myLine" to tCurrentAngle end rotateLine
but the line refuses to move an inch!

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

Statistics: Posted by glenn9 — Thu Jan 16, 2025 11:05 am



Viewing all articles
Browse latest Browse all 794

Trending Articles