ccordonates

can you tell me how to display the coordonates of the pointer when I draw an element ( line, circle, .... )

thank you in advance