Disable mouse middle down drag camera

Hi,
I am working with model viewer sample application. In that, I want to disable the Mouse Middle button drag feature. Can you please guide me to disable the same?

There’s a script for mouse input. There’s a callback function for mouse down events and in that callback, there’s some logic around the middle mouse button.

You should be able to remove or comment out the lines you don’t need.

Thank you for reply. It works now.