mouse-avoidance-threshold

mouse-avoidance-threshold is a variable defined in `avoid.el'.
Its value is
5


Documentation:
Mouse-pointer's flight distance.
If the cursor gets closer than this, the mouse pointer will move away.
Only applies in Mouse Avoidance modes `animate' and `jump'.

You can customize this variable.