Get block coordinates

Hi, i would like to know how can i get the coordinates of a block that i just broke or the block i'am looking right now ? I will choose the more efficient and simple.
Continue to help post