How to interchange the default left-click event with the right-click event

How to interchange the default left-click event with the right-click event?
Left click to drag the camera Right click to rotate around the point position

Hi @ShareQiu1994,

Last parameter is which button to use for panning
camera.attachControl(canvas, true, false, 0);

I hope this is what you need.

3 Likes

Thanks!