Drift

Outputs a value that keeps moving at a set speed, wrapping or bouncing at the edges of a range.

Parameters

NameTypeDescription
ValueoutputFloatThe moving value.
Reached EdgeoutputTriggerFires every time the value reaches the minimum or the maximum. Only present when Limit Range is on.
SpeedFloatHow far the value moves per second. A negative speed moves it down.
Limit RangeBoolWhether the value is kept between a minimum and a maximum.
RangeVector 2The lowest and the highest value. Only present when Limit Range is on.
At EdgeEnumWhat happens when the value reaches an edge. Only present when Limit Range is on.Choices: Wrap, Bounce
RunningBoolWhether the value moves. While off, it holds still.
ResetTriggerPuts the value back at its start, which is 0, or with Limit Range on the minimum for a positive speed and the maximum for a negative one.

The Drift operator outputs a value that travels on its own at a steady speed. Without a limit it starts at 0 and keeps going forever, which suits something that should scroll or rotate without end.

With Limit Range on, the value stays within the range. In Wrap mode, it jumps back to the other end when it reaches an edge. In Bounce mode, it turns around and travels the other way.

See also LFO, Counter.

Keywords: move, scroll, animate, bounce, wrap, loop, speed, travel