Question is in the title I just wanna make a simple function that will see if actors are moving away from each other
Branch(Distance(A,B) != savedDistance) —> savedDistance = Distance(A,B) (and add whatever you wanted here as well)
I think you will be able to understand what is written here
Use GetSquaredDistanceTo and check if it is less than the old distance saved in a variable. You probably don’t need to do it on Tick so use a looping Timer to call it.
Just got it working thanks