How can I get marquee loop to work?

This is driving me crazy, I watch several videos but still canโ€™t get this to work smooth.
I would appreciate your help.

Thanks

hi @AlexJones you can clone this project to look inside and learn how it is done. But there are another showcases or solved requests with identical issue here on forum.

Thank you very much Stan,
That is perfect.