Rotate map when click any direction

Hi there,

I just recently learn use cesium and have problem how to rotate the map when click any direction at the cesium. I make research and found the solution how to rotate by use rotateLeft,rotateRight,rotateUp and rotateDown.
However, the following is near what i expected move map using alphabet… but the difference is I want to change use mouse click instead of alphabet.

Hello!

There are actually built in mouse movements that you can use to navigate the map. If click on the question mark at the top right corner of the viewer, you can see a brief mapping of mouse movement to action:
image

If you are interested in creating your own mouse events, there are different mouse event types you can customize. For example, this example print “Hello!” each time you left-click using the mouse:

handler.setInputAction(function (movement) {
  console.log("Hello!");
}, Cesium.ScreenSpaceEventType.LEFT_DOWN);