Wrote func to identify touched tile.