# Center a moving movie to stage

**URL:** <https://forum.kirupa.com/t/center-a-moving-movie-to-stage/239876>\
**Category:** Uncategorized\
**Created:** [September 26, 2007, 7:55pm UTC](https://forum.kirupa.com/t/center-a-moving-movie-to-stage/239876 "2007-09-26T19:55:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve\_b](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@steve\_b](https://forum.kirupa.com/u/steve_b)\
**Post date:** [September 26, 2007, 7:55pm UTC](https://forum.kirupa.com/t/center-a-moving-movie-to-stage/239876/1 "2007-09-26T19:55:24Z")

</div>

Im having a mental block, I have done this before, but I cant think how…

Im prototyping a quick flash golf game. I have a ball that bounces across the stage, fairly simple. I just need it so that the stage follows the ball’s .\_x value, so the ball is always in the center of the stage regardless of its .\_y value.

Simple I know, I just cant remember how to do it…
