Oscillate

The Oscillate behavior animates a parameter by cycling it between two values. You can customize how wide apart the high and low values are as well as the number of oscillations per minute. The Oscillate behavior can create all kinds of cyclical effects. For example, if you apply the Oscillate behavior to the rotation property of an object, it will rock back and forth. This happens because the rotation property cycles back and forth between the original rotation value plus and minus the Amplitude value that’s set in the Oscillate behavior.

Applying the Oscillate behavior to the X value of the Scale parameter instead causes the width of the object to cycle, and it repeatedly stretches and compresses for the duration of the behavior.

The Oscillate behavior is additive, meaning that the value generated by this behavior is added to the original value of the parameter to which it’s applied.

Adjust this behavior using the controls in the Behaviors Inspector:

See also
Create a decaying oscillation