code: function setToolMode(mode, changeEvent, toolName, options) {
    _trackGlobalToolModeChange(mode, toolName, options);
    store.state.enabledElements.forEach(element => {
      setToolModeForElement(mode, changeEvent, element, toolName, options);
    });
  }
docs: A helper/quick way to set a tool's mode for all canvases
  
  @private
  @function setToolMode
  
  @param {string} mode
  @param {string} changeEvent
  @param {string} toolName
  @param {(Object|number)} options
  @returns {undefined}