Deleting Objects

I have a problem.

In my game scene, I delete an object, called myBox when it collides with the top of the screen sensor.

i use the removeSelf() method.

However, the goal of the game is to move the squares to the top sensor, and let the other shapes fall. When the user loses, then tries again, the squares (that I deleted last play) appear as i want, but wont preform the collision with the sensor that destroys them again. So the square will not be destroyed a second time, but it is there, as a real working object.

What is a solution? Is there a way to recreate the squares or bring them back?

views:1469 update:2011/10/22 17:28:16
corona forums © 2003-2011