How do I add scripts to a single tile of a tilemap?

I am working on a RTS game. I find I can only add scripts to the whole tilemap rather than the single of the tile. I wonder how I can do this?

I don’t think you can. Someone correct me if I am wrong, please.

Anyway, if you need interactive tiles you are better off separating them from the tilemap for single ones. For groups you can just use a different tilemap layer.

You are not wrong, there is no way to individualise a tile from another.

The best is placing tiles as children of the tilemap making them simple game objects to which you can add components.