# Move the 2d camera has the player move

**URL:** <https://discourse.processing.org/t/move-the-2d-camera-has-the-player-move/16851>\
**Category:** Coding Questions\
**Created:** [January 4, 2020, 8:05am UTC](https://discourse.processing.org/t/move-the-2d-camera-has-the-player-move/16851 "2020-01-04T08:05:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Westergard](https://avatars.discourse-cdn.com/v4/letter/w/a183cd/32.png) [@Westergard](https://discourse.processing.org/u/Westergard)\
**Post date:** [January 4, 2020, 8:05am UTC](https://discourse.processing.org/t/move-the-2d-camera-has-the-player-move/16851/1 "2020-01-04T08:05:39Z")

</div>

Hello, I am doing a “Mario game” and I want my 2d view to automatically move around to follow the player has he move. Please help me! Thanks! 😁

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [January 4, 2020, 8:22am UTC](https://discourse.processing.org/t/move-the-2d-camera-has-the-player-move/16851/2 "2020-01-04T08:22:55Z")

</div>

please link to your project at  
[https://editor.p5js.org](https://editor.p5js.org)

so we can see how you do

- the 2D view background  
draw background?, objects?, image? …

- and the player move
