Hy,
I have many rectangles(objects) created in table.
local rectTable = {}
for i = 1, 5, 1 do
rectTable[i] = {}
for j = 1, 5, 1 do
rectTable[i][j] = Shape.new()
rectTable[i][j]:setLineStyle(3, 0x000000)
...
How can i add touch event to each object, so i could manage them individually.
Tried couple things, nothing seems to work.
Comments