Context Menu - Right Click (Arc Rotate Camera)

How can I enable right-click to get context-menu with save image as an option while clicking on the canvas on using Arc Rotate Camera?

Hi, I replied in a different thread where you asked the same question - this is the code you can use:

camera.inputs.attached['pointers'].onContextMenu = (e) => {
        console.log(e);
    }
1 Like

Here is the example - https://playground.babylonjs.com/#PIKP4K#1

2 Likes