# Making Stage follow Player

**URL:** <https://forum.kirupa.com/t/making-stage-follow-player/300481>\
**Category:** flash\
**Created:** [November 22, 2009, 4:49am UTC](https://forum.kirupa.com/t/making-stage-follow-player/300481 "2009-11-22T04:49:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick23](https://avatars.discourse-cdn.com/v4/letter/n/76d3ee/32.png) [@Nick23](https://forum.kirupa.com/u/Nick23)\
**Post date:** [November 22, 2009, 4:49am UTC](https://forum.kirupa.com/t/making-stage-follow-player/300481/1 "2009-11-22T04:49:32Z")

</div>

Hello, I am trying to make the stage follow the player in AS3 (basically, so the ‘view’ follows the player and he remains in the center of the screen throughout).

Here is what I tried:

```auto
this.x = player.x-stage.width/2;
            this.y = player.y+stage.height/2;

```

If you could help me out that would be great thanks! 🙂
