So, I'm making an editor for my game and I have my events set up like this.
However when attempting to create a tile nothing happens.
I Figured out that the tilemap itself cant be empty and there must be a tile existing to replace the tile with the selected tile.
But that presents another problem. All tiles have some sort of collision and when testing the level the player will get stuck on those invisible collision tiles.
So I need help figuring out if I can either
Spawn a tile at the mouse position
Or
Delete all invisible tiles on the start of the layout.
Any help would be appreciated!