regular maxscript should allow this, as well there is a "mousetool" or "mousetrack" class, which allow you to get feedback on the mouse movement. They can also find out if you drag the mouse and what special keys you hold down (alt, shift, ctrl) say you use mousetrack, you would constantly let it run in the background,…