How do i make a doubleclick

how do i make it so that when a user double clicks on an object it shows the x and y co-ordinates of it

http://proto.layer51.com/d.aspx?f=385