Follow mouse movement

is there any way that i can replicate the movements of a mouse with an object?

i want it so that when the mouse is moved up, the object moves up etc etc?

except i do not want it to follow the mouse cursor, i need this to be happening in a seperate box in the corner of the screen

thanks