JoshuaThian
4 hours agoCommunity Member
Help with javascript and GSAP
Hi,
I'm looking to do a card flip animation using javascript and GSAP.
However upon clicking my card, the card resets to the top left position of the player.
Seems like my gsap.set is causing the issue.
Refer to attached project for error.
Anyone can point out what is wrong with my code?
Thank you.