Slider oscillating between -100 and 100

I’m trying to create a minigame slider for a project. The slider should oscillate between -100 and 100 and when you click a button it will stop on a value in that range.

I wanted to use a lerp to go between the two extremes but I cannot add a timeline to the widget graph so I cannot control the alpha in that way.

I tried using the game time and a Sine component but that does not work either.

Is there another way I should go about this? Are Lerps not viable in Widget Blueprints?

Try:

or


Alternatively, choose one:

  • have another actor provide alpha from its timeline
  • have a looping animation in the widget that lasts 1s, either sample its progress on tick or use its repeater event
  • use a timer instead

Thank you!