You can probably get the closest grid element to a collision point using the world_to_map
and get_cell_item
functions. I have not tried it myself, but I remember reading this is a common way to find collided tiles in 2D with TileMap nodes.
There might be a way to detect individual tiles, but I do not know of any right off. I did some quick Google searches and didn't find anything.