Hello,
I have a design where I can click on some items to select them, then click a button to save them.
Upon clicking the button I need to animate the items I've selected (simultaneously, no stagger between them), then after the items have finished moving I need to animate the button I've clicked, and then fade out everything on the page. I've separated my timelines in functions.
In my first function I'm looping through an array of items and calculating the X and Y positions they will animate to, based on their initial position. I haven't included this in the code