How do I program a way to sell and release the position occupied by a particular tower.
I programmed for when you click on the block "Wall" set the value of a variable named activeblock to the UID value of the "Wall", based on the position of the "Wall" and the touch (x,y) on screen.
The problem is that when you sell certain tower and will put another in previously unoccupied site after the sale is not releasing.
Note that if you try to put all the towers in the next block sell them all, when trying to put other towers in the same places are two sites that prevents the insertion of new towers.