Posted October 12, 2017 I have a text animation that shows one word at a time. Is there a way I can fire a function at the end of each staggerTo (i.e each paragraph?) This is what I have: tl.staggerTo(mySplitText.words, speed, {display:'block',repeat:1,yoyo:true}, speed*2,endOf) function endOf() { console.log ('end of paragraph') } Share this post Link to post Share on other sites
Posted October 12, 2017 Hi @gareth, This could be a way ... Happy tweening Mikel 4 Share this post Link to post Share on other sites
Posted October 12, 2017 Great solution by @mikel, which sparked and idea to use a jQuery forEach loop 5 Share this post Link to post Share on other sites
Posted October 13, 2017 amazing, thank you both. I have made a small update to yours @Carl so we do not need jquery. 1 Share this post Link to post Share on other sites