Hi guys, I searched here in the topics about my question and I didn't find it, and the following ones I created a system to change the size of the Tilemap through the touch and then when I release the screen button then it creates several objects in the width and height using loopindex , only this tilemap will be erasable when I tap on it so a block is erased at the place I clicked, and then I save the json of the tilemap with the filled blocks and the various ones in the array, I want it when I open the game again automatically detect the filled blocks and the several and then just create the objects in the blocks that are filled and the several remain several until I create objects over them again
what am I doing wrong ?
+ System: for "X" to 0 a Tile.width/Tile.width
+ System: for "y" to 0 a Tile.height/Tile.height
+ Tile: tile (loopindex("x"), loopindex("y")) # -1
-> System: [Create object coin on layer "Tile" at (Tile.PositionTileX(loopindex("x")), Tile.PositionTileY(loopindex("y"))), create hierarchy: no, template: ""]