# Camera Control for Pan3D - Movement - onControls

**URL:** <https://community.cesium.com/t/camera-control-for-pan3d-movement-oncontrols/12379>\
**Category:** CesiumJS\
**Created:** [February 18, 2021, 12:23pm UTC](https://community.cesium.com/t/camera-control-for-pan3d-movement-oncontrols/12379 "2021-02-18T12:23:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ruediger\_Brand](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ruediger_brand/32/4004_2.png) [@Ruediger\_Brand](https://community.cesium.com/u/Ruediger_Brand)\
**Post date:** [February 18, 2021, 12:23pm UTC](https://community.cesium.com/t/camera-control-for-pan3d-movement-oncontrols/12379/1 "2021-02-18T12:23:06Z")

</div>

Hi,

I would like to programm a camera control with my own ui-elements.

I found moveUp, moveDown, moveLeft, moveright, movebackward, moveforward, zoomIn, zoomOut  
as functions on the camera, but i didn’t find a function for pan, like it is done via mouse event, i.E. LEFT\_Drag.

Could anyone help ?

Regards Rüdiger
