Hey guys!
I’m trying to build a scrolling and looping news ticker widget in UMG. I’ve sort of gotten most of it to work, but I can’t figure out how to make it loop automatically. I think what I actually want to do is remove the first letter of the string each tick and attach it to the end - I couldn’t figure out how though - and that would probably also make it hard to control the speed, as well as make it look a bit jittery instead of the smooth scroll it has now. Any good ideas?
What you can try to do is create two scrolling text blocks at the same time. one starting at the end of the other, when the bounds of the first are off screen, reset its position to where the other started and continue looping.
I would create a Boolean in the event tick to check position of (currently visible text block). If position >= end position then set position to desired location, set second scrolling text block as the (currently visible text block) and reset the Boolean.
Hmm! That’s not a bad idea at all. I’ll give it a shot. Thank you!