# Camera stability

**URL:** <https://community.cesium.com/t/camera-stability/21304>\
**Category:** CesiumJS\
**Created:** [November 23, 2022, 11:30pm UTC](https://community.cesium.com/t/camera-stability/21304 "2022-11-23T23:30:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![digiiitalmb](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/digiiitalmb/32/2519_2.png) [@digiiitalmb](https://community.cesium.com/u/digiiitalmb)\
**Post date:** [November 23, 2022, 11:30pm UTC](https://community.cesium.com/t/camera-stability/21304/1 "2022-11-23T23:30:34Z")

</div>

I’m sure some one else also has this problem where you have a tileset and trying to navigate the camera around selected point while holding control (ctrl), it’s really annoying when you accidentally click on faraway background and then you have crazy camera movement making you lose your original point of interest by moving camera away.

Interested to hear how wider community is dealing with this problem?  
Maybe there is a way to make globe behave like sky, meaning that you can only pan camera if you click on the sky versus rotate around point?

![Camera - Cesium Sandcastle - Google Chrome - 23 November 2022 (2)](https://global.discourse-cdn.com/cesium/original/3X/0/8/08c8d9d977049b267e6e25a34fe9d7837c5f82b2.gif)

I found this setting:

#### ScreenSpaceCameraController

`The minimum height the camera must be before switching from rotating a track ball to free look when clicks originate on the sky or in space.`

Ideally I would like everything to behave as it does in track ball mode, I did try to set this value to negative number to force that but obviously did not work

Edit:

I also tried to use  
`viewer.scene.screenSpaceCameraController.enableLook = true;`

---

<div class="post-metadata">

**Author:** ![James\_B](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/james_b/32/2424_2.png) [@James\_B](https://community.cesium.com/u/James_B)\
**Post date:** [November 30, 2022, 1:13pm UTC](https://community.cesium.com/t/camera-stability/21304/2 "2022-11-30T13:13:36Z")

</div>

I added a camera reset button that “flies to” the current camera position but with a heading-pitch-roll value that points back at the origin, with north at the top of the screen. (I don’t have those numbers in front of me, or I’d post them here, sorry.) It doesn’t prevent the problem but it does make recovery somewhat easier.
