Hi
Im using the following code
mylinecount=mylinecount+1
myline[mylinecount]=display.newLine(arrx[counter],arry[counter],arrx[counter-1],arry[counter-1])
myline[mylinecount].width=3
myline[mylinecount]:setColor(R, G, B, 255 )
myline[mylinecount].name=“line”
disp_group:insert(myline[mylinecount])
It does not give me any error but cannot see the drawn line on the screen. But if you comment the disp_group line it works perfectly.
Is there a solution for this problem. is it because the myline is an array. [import]uid: 115284 topic_id: 25773 reply_id: 325773[/import]
[import]uid: 52491 topic_id: 25773 reply_id: 104215[/import]