How do I make one object moves away from other object?

Hello. I need that object moves away from other one, but doesn’t leave the screen.

1 Like

Hi @Lavrent you just need the following:

  1. give the object you want to move away the Stay in Frame and the Move Towards behaviour.

  2. in the inspector change the “Move Towards” to move AWAY and select the object you want to to move away from. (see image attached)

  1. last, just set the “Stay in Frame” behaviour to “bounce” or “wrap around”… however, you want it to behave.
2 Likes