Hi!
How to add object to scene from 2d Array?
local obj = {} for i = 1,3 do obj[i]= {} for j= 1,3 do obj[i][j] = display.newRect(0, 0, 150, 50); scene:insert(obj[i][j]) end end
That’s my try but doesn’t work
Please help.
Thanks in Advice