Thanks Carbincopy
But I wouldn't to use a loop for this. I want something like:
On touched tilemap & tilemap.tileTouched = false> tilemap.tileAt(something.else.that.I.don't.know): set tilemap.tileTouched = true
Not sure if Tilemap would be able to do that, but you could try compare tilemap at mouse.x mouse.y if touched = true or false, but again you would have to be able to check each tilemap block individually