See http://scratch.mit.edu/discuss/topic/30265/ Shows how to calculate the direction of a point from another. The angle it gives goes from -180 to +180 degrees, and follows Scratch's 'point in direction' convention. Drag the the ends of the line to change the direction of the line. Originally From @TheLogFather
@ThunderFR2 You put the wrong variable for line length. I changed it. Awesome work and great remix. I think it is less code than mine was. @TheLogFather Original