# How to change the camera target without having that target automatically centered on the screen

**URL:** <https://forum.babylonjs.com/t/how-to-change-the-camera-target-without-having-that-target-automatically-centered-on-the-screen/24440>\
**Category:** Questions\
**Tags:** camera\
**Created:** [October 9, 2021, 1:35pm UTC](https://forum.babylonjs.com/t/how-to-change-the-camera-target-without-having-that-target-automatically-centered-on-the-screen/24440 "2021-10-09T13:35:04Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![PolygonalSun](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/polygonalsun/32/2704_2.png) [@PolygonalSun](https://forum.babylonjs.com/u/PolygonalSun)\
**Post date:** [December 2, 2021, 10:48pm UTC](https://forum.babylonjs.com/t/how-to-change-the-camera-target-without-having-that-target-automatically-centered-on-the-screen/24440/14 "2021-12-02T22:48:35Z")

</div>

So I just wanted to reply on this thread that I was able to make a PG that should do the desired behavior. It’s pretty big so check out the setCameraOffset and resetCameraTarget functions for the actual camera movement logic: [ArcRotateCamera Offset Demo | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#3B5W22#29)

---

_[View the full topic](https://forum.babylonjs.com/t/how-to-change-the-camera-target-without-having-that-target-automatically-centered-on-the-screen/24440)._
