Hi @Lavrent you just need the following:
-
give the object you want to move away the “Stay in Frame” and the “Move Towards” behaviour.
-
in the inspector change the “Move Towards” to move AWAY and select the object you want to to move away from. (see image attached)
- last, just set the “Stay in Frame” behaviour to “bounce” or “wrap around”… however, you want it to behave.