// Init cornerstone tools cornerstoneTools.init(); // Enable any elements, and display images // ... // Add our tool, and set it's mode const PanTool = cornerstoneTools.PanTool; cornerstoneTools.addTool(PanTool) cornerstoneTools.setToolActive('Pan', { mouseButtonMask: 1 })