# Display X and Y coordinates

**URL:** <https://forum.kirupa.com/t/display-x-and-y-coordinates/159312>\
**Category:** flash\
**Created:** [August 16, 2005, 5:30pm UTC](https://forum.kirupa.com/t/display-x-and-y-coordinates/159312 "2005-08-16T17:30:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sgFan](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@sgFan](https://forum.kirupa.com/u/sgFan)\
**Post date:** [August 16, 2005, 5:30pm UTC](https://forum.kirupa.com/t/display-x-and-y-coordinates/159312/1 "2005-08-16T17:30:59Z")

</div>

Hi,

I’m new to actionscript. What I’d like to do is as follows:

I have a draggable movie clip called ln, and what I’d like to happen is, when you click it and drag it, its X and Y coordinates get displayed somewhere on screen, where they’re visible to the viewer. Then when you release it, the coordinates freeze in place

How would I go about doing this?

Any help would be thoroughly appreciated.
