# True center of a clip?

**URL:** <https://forum.kirupa.com/t/true-center-of-a-clip/50687>\
**Category:** flash\
**Created:** [May 5, 2004, 3:12pm UTC](https://forum.kirupa.com/t/true-center-of-a-clip/50687 "2004-05-05T15:12:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![simpleSoft](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@simpleSoft](https://forum.kirupa.com/u/simpleSoft)\
**Post date:** [May 5, 2004, 3:12pm UTC](https://forum.kirupa.com/t/true-center-of-a-clip/50687/1 "2004-05-05T15:12:40Z")

</div>

I want to find the true center of a clip

```auto
 Stage.width/2 

```

Does not do it. I have attached an example I want to find the cursor’s distance from the blue line (center) at any point. But as you will see if you compile what i have its just a little offCenter.

If you compile it move the cursor around I a have sometext boxes on the stage that show all the vital stats, X mouse pos, center, distance from center, etc…

BTW this will be a scroller at one point so all that other stuff in the code will one day effect that. Any help would be awsome
