unni Posted November 29, 2023 Share Posted November 29, 2023 i want a automatic marquee exactly which works like html marquee tag. if anyone know please help. See the Pen rNPZmMo by unni-krishnan-the-vuer (@unni-krishnan-the-vuer) on CodePen Link to comment Share on other sites More sharing options...
Solution mvaneijgen Posted November 29, 2023 Solution Share Posted November 29, 2023 Have you seen the Seamlessly loop elements along x-axis helper function? https://gsap.com/docs/v3/HelperFunctions/helpers/seamlessLoop/ This does exactly what you want. The only requirement is that there are enough elements to go around filling the with of the screen a few times, in this case 3 is the perfect number. Hope it helps and happy tweening! See the Pen LYqJLOz?editors=1010 by mvaneijgen (@mvaneijgen) on CodePen 2 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now