Hello again, lol. i know i've been asking alot on these forums lately, and its been a really big help, and i'd like to thank everyone who helped. Now, for the question. ok, im building a tile engine that uses 32x32 tiles, there set up in a 13X13 grid. Now they are arranged by index number (0,1,2,3...168) and i need to access them by the x,y co-ords. i know how to get the Index number from the x,y co-ords ((y*width)+x = index), however i dont know how to get the x,y from the index. can neone help on this? thanks.