NOTE* I’m using Blueprints and UMG.
I’m trying to figure out the best way to achieve a looping progress bar. It’s not “looping” in the traditional sense, but I’ll try my best to explain it.
Currently, I have a UMG Progress Bar that starts filling (by 2% per tick) after an OnClick of a UMG Button get triggered - this works fine.
The problem I’m having is after this initial fill, I’m trying to get the Progress Bar to start unfilling (or rather emptying) at an increased rate of 4% per tick and then fill again, sustaining the 4% per tick rate. I essentially want to the UMG Progress Bar to loop in both directions in a theoretical endless loop, until the player performs a second Click of the same UMG Button that triggered the initial fill.
Both the Progress Bar looping feature and figuring out how to listen for the second Click of the same UMG button to stop the fill/empty loop I’m having trouble with.
If anybody can help, I’d be greatly appreciative. I haven’t been able to figure this one out yet and it’s driving me mad lol
Thanks in advance!