Need Enemy movement

I basically want to make an action for AI im workin on. This action will tell the enemy to ease from its current possition to another. Antoher similar code i want is one that will maake the ememy avoid the curser, but react slow enough that if you move the mouse fast enough, you’ll be able to get a shot on it.