ACTOR STOP!

I have an actor that moves forward at a constant speed when an attribute equals 1.
I also have an enemy actor that moves towards the actor in the sentence above, I want the actor in the top sentence to stop moving when he is (for example 150 pixels away) from the enemy actor
I also have an enemy actor that moves towards the actor in the sentence above, I want the actor in the top sentence to stop moving when he is (for example 150 pixels away) from the enemy actor