# Touch interaction one thing at the time

**URL:** <https://community.cesium.com/t/touch-interaction-one-thing-at-the-time/20091>\
**Category:** CesiumJS\
**Created:** [August 24, 2022, 3:20am UTC](https://community.cesium.com/t/touch-interaction-one-thing-at-the-time/20091 "2022-08-24T03:20:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ka\_sc](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ka_sc/32/2397_2.png) [@ka\_sc](https://community.cesium.com/u/ka_sc)\
**Post date:** [August 24, 2022, 3:20am UTC](https://community.cesium.com/t/touch-interaction-one-thing-at-the-time/20091/1 "2022-08-24T03:20:54Z")

</div>

hi,  
I am trying to separate touch interactions into apple style touch, you can zoom, tilt and rotate but just one at the time. not much luck with disabling things in screenspaceController, rotatiation and tilt dont cleanly seperate. Can i do something mor low level?  
Disable screenspace events corresponding to camera events for example?

Cesium default events:  
zoom  
[CameraEventType.RIGHT\_DRAG, CameraEventType.WHEEL, CameraEventType.PINCH]  
rotate  
CameraEventType.LEFT\_DRAG  
tilt  
Default Value: [CameraEventType.MIDDLE\_DRAG,  
CameraEventType.PINCH, { eventType : CameraEventType.LEFT\_DRAG, modifier : KeyboardEventModifier.CTRL },  
{ eventType : CameraEventType.RIGHT\_DRAG, modifier : KeyboardEventModifier.CTRL }

if (type === CameraEventType.LEFT\_DRAG) {  
down = ScreenSpaceEventType.LEFT\_DOWN;  
up = ScreenSpaceEventType.LEFT\_UP;  
} else if (type === CameraEventType.RIGHT\_DRAG) {  
down = ScreenSpaceEventType.RIGHT\_DOWN;  
up = ScreenSpaceEventType.RIGHT\_UP;  
} else if (type === CameraEventType.MIDDLE\_DRAG) {  
down = ScreenSpaceEventType.MIDDLE\_DOWN;  
up = ScreenSpaceEventType.MIDDLE\_UP;  
}

---

<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:** [September 8, 2022, 1:22pm UTC](https://community.cesium.com/t/touch-interaction-one-thing-at-the-time/20091/2 "2022-09-08T13:22:32Z")

</div>

Hi there,

Are you trying to override _all_ the default event handlers? If so, [this example](https://community.cesium.com/c/cesium-ion/9) show how to disable them all.

I would also suggest if you want to get fine-grained about the events, and especially the touch events, that you use the default browser event listeners, rather than the built-in one for CesiumJS. You can then map those to the camera movements directly.

I hope that helps a bit.
