# how to disable click and drag

**URL:** <https://community.cesium.com/t/how-to-disable-click-and-drag/6000>\
**Category:** CesiumJS\
**Created:** [August 30, 2017, 4:09am UTC](https://community.cesium.com/t/how-to-disable-click-and-drag/6000 "2017-08-30T04:09:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdullah.shaiknaina](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@abdullah.shaiknaina](https://community.cesium.com/u/abdullah.shaiknaina)\
**Post date:** [August 30, 2017, 4:09am UTC](https://community.cesium.com/t/how-to-disable-click-and-drag/6000/1 "2017-08-30T04:09:26Z")

</div>

How to disable click and drag as it is very frustrating as there is no way to move back to the original map

---

<div class="post-metadata">

**Author:** ![frodrigues.vexiza](https://avatars.discourse-cdn.com/v4/letter/f/958977/32.png) [@frodrigues.vexiza](https://community.cesium.com/u/frodrigues.vexiza)\
**Post date:** [August 30, 2017, 8:56am UTC](https://community.cesium.com/t/how-to-disable-click-and-drag/6000/2 "2017-08-30T08:56:30Z")

</div>

Hi,  
For disable the default event handlers you can use:

viewer.scene.screenSpaceCameraController.enableRotate = false;  
viewer.scene.screenSpaceCameraController.enableTranslate = false;  
viewer.scene.screenSpaceCameraController.enableZoom = false;  
viewer.scene.screenSpaceCameraController.enableTilt = false;  
viewer.scene.screenSpaceCameraController.enableLook = false;

``

[https://cesiumjs.org/Cesium/Build/Documentation/ScreenSpaceCameraController.html?classFilter=scre](https://cesiumjs.org/Cesium/Build/Documentation/ScreenSpaceCameraController.html?classFilter=scre)

[https://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Camera%20Tutorial.html&label=Showcases](https://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Camera%20Tutorial.html&label=Showcases)
