Thanks again for the reply, But I have written a set of keyframes, I want the end users to use Timelinemax to just use the keyframes instead of writing their own code. I am using this on a chessboard, So let's say the keyframes are: move-up-1, move-left-2, move-right-2 In your example, it will be helpful only to me as a developer and not the end user as he will need to find the coordinate position which should not be the case. Again mentioning, something like:
timelinemax.to { move-up-1, delay1, move-left-2, delay2, move-right-2, delay3 }
Since CSS cannot sequence the animations, I will have to use JS to find `animationEnd` event but this will make the whole process complicated and I just want an alternative with GSAP.