If you want to rotate the cube, drag the cube.
If you want to change color of cube , press c.
If you want to move the cube, press m and drag the cube.
If you want to zoom the cube, wheel the mouse.

(CC-NC-BY) Kim Kwangho 2019
Reference : https://www.tutorialspoint.com/webgl/webgl_interactive_cube.htm