# Zoom/Rotate events

**URL:** <https://community.cesium.com/t/zoom-rotate-events/3927>\
**Category:** CesiumJS\
**Created:** [March 26, 2016, 2:53pm UTC](https://community.cesium.com/t/zoom-rotate-events/3927 "2016-03-26T14:53:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ianwalberg](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ianwalberg/32/3476_2.png) [@ianwalberg](https://community.cesium.com/u/ianwalberg)\
**Post date:** [March 26, 2016, 2:53pm UTC](https://community.cesium.com/t/zoom-rotate-events/3927/1 "2016-03-26T14:53:13Z")

</div>

Folks,

Where can we get events when a user zooms or rotates the view?

Thanks

Ian

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [March 28, 2016, 2:35pm UTC](https://community.cesium.com/t/zoom-rotate-events/3927/2 "2016-03-28T14:35:19Z")

</div>

Hello Ian,

There are two events on Camera to see when the camera movement starts and ends. See [Camera.moveStart](http://cesiumjs.org/Cesium/Build/Documentation/Camera.html#moveStart) and [Camera.moveEnd](http://cesiumjs.org/Cesium/Build/Documentation/Camera.html#moveEnd)

Also see this demo, which uses the moveStart and moveEnd events: [http://analyticalgraphicsinc.github.io/cesium-google-earth-examples/examples/viewchangeEvent.html](http://analyticalgraphicsinc.github.io/cesium-google-earth-examples/examples/viewchangeEvent.html)

Best,

Hannah

---

<div class="post-metadata">

**Author:** ![ianwalberg](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ianwalberg/32/3476_2.png) [@ianwalberg](https://community.cesium.com/u/ianwalberg)\
**Post date:** [March 28, 2016, 2:50pm UTC](https://community.cesium.com/t/zoom-rotate-events/3927/3 "2016-03-28T14:50:02Z")

</div>

Hannah,

Thanks, let us take a look at these.

We also want to be able to disable all user input (zoom, pan, rotate) at certain times, say when we are replaying a specific sequence. Is there a way of easily doing this?

Thanks

Ian

**On Behalf Of** Hannah Pinkos

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [March 28, 2016, 3:18pm UTC](https://community.cesium.com/t/zoom-rotate-events/3927/4 "2016-03-28T15:18:00Z")

</div>

Yes! To disable inputs, set

viewer.scene.screenSpaceCameraController.enableInputs = false;

``

Then you can re-enable it by setting the value back to true.

-Hannah

---

<div class="post-metadata">

**Author:** ![ianwalberg](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ianwalberg/32/3476_2.png) [@ianwalberg](https://community.cesium.com/u/ianwalberg)\
**Post date:** [March 28, 2016, 4:03pm UTC](https://community.cesium.com/t/zoom-rotate-events/3927/5 "2016-03-28T16:03:26Z")

</div>

Hannah,

Thanks, that was what we needed.

Regards

Ian

**On Behalf Of** Hannah Pinkos
