qasim Posted March 8, 2022 Share Posted March 8, 2022 Gsap Rotating Arrow in circle,and is stopping well at various points, But Now want to trgieer some js code on each that stopping points, So that i can glow or animate each points logo , when stop on it for some time Just want to show Different alert or consoles on Different points See the Pen vYWQbBQ by tripti1410 (@tripti1410) on CodePen Link to comment Share on other sites More sharing options...
OSUblake Posted March 8, 2022 Share Posted March 8, 2022 Hi qasim, You should look over how Timelines and the position parameter work. You can do whatever you want, for example. .to( '.circle-container' , { rotation: "+=90"}, "+=1" ) .add(() => { console.log("Hello") }) .to( '.circle-container' , { rotation: "+=90"}, "+=1" ) 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