Hi! I'm new to Greensock and I'm trying to get my head around how everything works.
I'm trying to change the direction of this codepen example - I've got as far as to change += to –= but I can't work out what I need to change on the modifier so that the boxes loop. Any help is much appreciated.
See the Pen QEdpLe by GreenSock (@GreenSock) on CodePen
Hi @lsloss, have a look here to see "one way" it can be done. I say "one way" because I'm sure there are better methods than my ternary operator ... but I'm not feeling well today and it's all I can think of right now! ?
See the Pen OdGbow by sgorneau (@sgorneau) on CodePen
Hope this helps!