Right click drag blocking

Hello, I move meshes with Drag feature, but I don’t want to move mesh with right click. I couldn’t find how to prevent this. Please your help.

Drag Demo | Babylon.js Playground (babylonjs-playground.com)

Hi @farukcelim,

Just check input (mouse click): pointerInfo.event.inputIndex == 2 //Left mouse click
Line 111

Drag Demo