How to delete a single tile from your tilemap?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Wurzelpilz

I clicked accidentally on “New single tile” and created a single tile and everytime I try to delete it, I delete my whole atlas instead of this single tile.

:bust_in_silhouette: Reply From: lewis glasgow
func _ready():
func remove_tile(id):
	var tileset = preload("res://new_tileset.tres")

to know the tile id go onto the tileset editor and click on the tile and in the options for the tile click on name and it should have a number