# Prevent camera rotate underground or under terrain

**URL:** <https://community.cesium.com/t/prevent-camera-rotate-underground-or-under-terrain/6871>\
**Category:** CesiumJS\
**Created:** [May 3, 2018, 12:48am UTC](https://community.cesium.com/t/prevent-camera-rotate-underground-or-under-terrain/6871 "2018-05-03T00:48:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![medusatisfy](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@medusatisfy](https://community.cesium.com/u/medusatisfy)\
**Post date:** [May 3, 2018, 12:48am UTC](https://community.cesium.com/t/prevent-camera-rotate-underground-or-under-terrain/6871/1 "2018-05-03T00:48:44Z")

</div>

Is there a possible way to stop camera rotating or moving underground or under terrain?

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [May 4, 2018, 1:47pm UTC](https://community.cesium.com/t/prevent-camera-rotate-underground-or-under-terrain/6871/2 "2018-05-04T13:47:37Z")

</div>

Hi there,

There’s a bug open for this in GitHub, keep an eye on Issue [#5837](https://github.com/AnalyticalGraphicsInc/cesium/issues/5837). I’ll add this report as well.

There’s also a suggested fix for it open in [#6012](https://github.com/AnalyticalGraphicsInc/cesium/pull/6012).

Thanks,

Gabby
