<a href="https://gist.github.com/BaldarSilveraxe/74f8ae208a" rel="nofollow">https://gist.github.com/BaldarSilveraxe/74f8ae208a</a>... Two functions.... map_coordinates gives the column and row on the map for a graphic (Aaron helped me with the hex part a while back.) ... map_adjacent (which uses map_coordinates) gives a list of ids for all adjacent graphics... organized by clockwise position: I needed this for a script I am playing with, others might find it useful (or find my mistakes.)