Display cursor position in realtime

Is there a way to display the position of the cursor (in pixels) in realtime? I tried to find a way to do it but was unsuccessful.

At any given time you can look at

myDiagram.lastInput.viewPoint

To get the x and y values of the cursor (except when the last input was a keystroke, etc)

(see also documentPoint)

For example, you could initialize your Diagram as follows:

  $(go.Diagram, "myDiagramDiv",
    {
      mouseOver: function(e) {
        console.log(e.viewPoint.toString())
      }
    });