That's not actually following the mouse at all.
For artists doing this, the drawing hand is simply moving left/right (X-axis) using the existing controls.
So it's never actually tracking anything, it just always looks like you're drawing.
It's a clever illusion and works well when used subtly.