What's the best way to linearly ping-pong a float value?

I have a float value and I want it to linearly interpolate from 0 to 100, and once it reaches 100, I want it to go back to 0.
What’s the best way to do this in blueprints?

If you are not familiar with programming, use Timeline.

Sorry.

I always get sloppy late at night.

Here is a blueprint to do this. It is much simpler than it looks. Period in your case is 100

…Math always looks sexier in C++ :frowning:

1 Like