Repel From is available in the Behaviors: Starter Pack.

This behavior moves the layer it has been applied to away from the specific location of another layer. This allows you to push one layer around using a second layer, and keep a minimum distance between them.

  • Target: The layer containing the Repel From behavior will move away from the position of the layer you select in this menu.
  • Acceleration: Sets the speed at which repulsion will be accelerated. The distance the layer travels per second will be increase by the specified number of pixels for each second of travel. So if Acceleration is set to 100, for example, the layer will travel 100 pixels toward the Target in the first second, 200 pixels in the second second, and 300 pixels in the third second, for a total of 600 pixels traveled in three seconds.
  • Distance: The minimum separation between this layer and the Target Layer. Once the tow layers reach this distance from one another, this layer will begin moving away from the target layer.
  • Falloff: Choose between Linear and Quadratic Falloff

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.