ConnectingDots = {}
function StartAgain()
FirstDot = display.newImageRect(“Dot.png”, 40, 40)
FirstDot.x = 300;
FirstDot.y = 300;
FirstDot.alpha = 1;
FirstDot:addEventListener(“touch”, RemoveDots)
table.insert(ConnectingDots, FirstDot)
screenGroup:insert(FirstDot)
– 2nd Dot
SecondDot = display.newImageRect(“Dot.png”, 40, 40)
SecondDot.x = 400;
SecondDot.y = 400;
SecondDot.alpha = 1;
SecondDot:addEventListener(“touch”, RemoveDots)
table.insert(ConnectingDots, SecondDot)
screenGroup:insert(SecondDot)
end
* How do i call the First Dot alone?
* RemoveDots is a function to erase the dot.
– Thank you!