Hold down the mouse button-the dot will move towards it! I think it looks like a joystick. Pen? indicates whether the pen is down or not.
This script is similar to one used to 3D render an abject using the mouse, interestingly!