Nudge command

 From:  ttype (STRUBE)
7353.8 In reply to 7353.4 
Hi, I've written a 2D version.

It checks which viewport the mouse is over:
https://github.com/thetumbledtype/moi3d-scripts-commands/blob/master/Nudge2D.js