Help with nested tables!!

I have points,(x,y) coordinates stored in tables as a table of tables.

lt1 = {{30,65},{98,65},{166, 65},{235,65}}  
lt2 = {{235, 65}, {166, 65},{98, 65}, {30,65}}  
lt3 = {{136, 36}, {136,90},{136,144},{136,198}}  
lt4 = {{136, 198}, {136,144}, {136,90}, {136,36}}  
lt5 = {{68,78},{109,127},{149,175},{190,224}}  
lt6 = {{190,224},{149,175},{109,127},{68,78}}  
lt7 = {{190,78},{149,127},{109,175},{68,224}}  
lt8 = {{68,224},{109,175},{149,127},{190,78}}  

I am trying to get the value of any of these points to then pass it to a spawning function. But I can’t seem to get it. I thought I could just do this:

x,y = lt1[1]  

and get x to be 30 and y 65, but it doesn’t work. Can anyone help me with this?
Thanks [import]uid: 8192 topic_id: 2298 reply_id: 302298[/import]

Your code is returning the first element, a lua table. This will get you what you want:

x,y = lt1[1][1], lt1[1][2]  

-Tom [import]uid: 7559 topic_id: 2298 reply_id: 7040[/import]