Is there a way to program MMB to pan the canvas in Sketch.app?

I've been looking for a while for a way to program my MMB (Middle Mouse Button) to be able to pan the canvas in Sketch, similar to Invision Studio, without the need to hold spacebar.

I haven't been able to find any plugins for this, and the Mac will only allow the programming of keybinds to keys.

Does anyone know of a plugin or software that will allow me to do this? Pressing spacebar is not difficult, but I am constantly switching between Studio and Sketch for designs, and the difference interrupts my workflow.

Here is the link to the Sketch documentation for canvas controls, for reference: https://www.sketch.com/docs/canvas/

Ps. I'm not sure if this is the correct forum for this question, but I am assuming that more people in the user experience field will have a familiarity with Sketch than standard SO. I use a 2017 Macbook Pro on Catalina.