Interactive mouse

how would i go about making objects in my movie move with the mouse…
for example, my mouse moves left, the object scrolls left, it moves right, it scrolls right, and depending on how close to the center the mouse is, the speed will vary, and when it is in the center, there will be no movement…
example