I have a link that, when clicked, I would like it to move the position of the mouse to the right (or anywhere within the viewport, for that matter).
in code it would
As other users already have mentioned, there isn't any mechanism is Javascript to do that. However, you can disable the mouse and implement a cursor to do what you need. Here is a link that explains how. How to implement a custom cursor.