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