Oscillating spring

I am trying to set up a blueprint for a spring that oscillates between 2 points. I want to show a spring constantly moving between 2 values using blueprints. The attached image shows what I have done so far. From the image it can be seen that at the moment, when the condition is true, the spring will move to a different position and stay there. How would I show the spring constantly moving between 2 points.

The blueprint example I’ve posted oscillates the ‘SharedRoot’ node between the open and closed vector variables. You can change the speed of the oscillation by altering the OscRate variable.

Hi engeimanna, thanks for the response. Is the only way to do this through using the event tick?