Animating a property without interpolation/easing

If I want to animate a property value but I don’t want it to ease into the other value, how can I do that? For example, I want the value of the scale to alternate between 0.5 and 1 every second but no values in between.

I thought about using a timer which sets the value every other second but that feels awkward. Seems like something I should be able to do with animation

In godot, it would look like this:

Thanks

Hi @JonDowland !

I haven’t tried it, but you should be able to use custom easing, and setting the weights to 0 and 1 respectively in the easing vector. It might be that you need to have many values of 0 and 1, in order to make it interpolate sufficiently fast.

2 Likes