Sndn Posted September 1, 2021 Share Posted September 1, 2021 Hello I'm new to animation and GSAP and I tried things for what I'm looking for but nothing seems to work, I dont know if I am missing something or what. I would like to move a circle as an indicator of scrolling through a parent div of 100% height on position fixed. I need to get the position of my scrolling bar in % to position my circle along the div from 0% (top of the page) to 100% (bottom of the page). Any idea if that's possible to do this with GSAP ? Thank you! Link to comment Share on other sites More sharing options...
nico fonseca Posted September 1, 2021 Share Posted September 1, 2021 Hey @Sndn welcome to the forum ! 💚 I don't know if I understand your issue 100%, but you can use ScrollTrigger. Here you have some threads to calculate the progress on the scroll: Btw if you can provide some minimal demo for us we will help you better. 3 Link to comment Share on other sites More sharing options...
Sndn Posted September 2, 2021 Author Share Posted September 2, 2021 Hello ! Amazing, exactly what I needed ! Didn't find these threads using the search tool before posting, I guess I will need some training on that too! Thank you so much @nico fonseca 2 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