I used this command to create a line:
local myLine = display.newLine( 0,-110, 27,-35 )
How can I get the coordinates from myLine? I looked at the following links
http://developer.anscamobile.com/content/common-methods
http://developer.anscamobile.com/reference/index/common-properties
but the closest thing I could find is myLine.x and myLine.y, which appear to be x1 and y1 (not sure), but I can’t figure out how to get x2 and y2.
I want this information in order to detect if two lines intersect on the screen.
Thanks in advance! [import]uid: 109574 topic_id: 20608 reply_id: 320608[/import]