Mouse rollover

i am looking for the code and how to make an object keep moving away from the mouse
when the user rolls over it. so it ends up like a prank.