Search the Community
Showing results for tags '#rotation #button \# tween'.
Found 1 result
getting a button to rotate an objectHey guys i'm new to GSAP, so pardon the "DUH" noob question. I'm trying to rotate an object by pressing a button. so far i have the object to rotate on LOAD but when i press the button- nothing happens. I can MOVE the object if I want on button press but i can't figure out why the object will not rotate on button press. I have a link to code pen. I am also new to code pen, so apologies in advance if some thing is missing. I posted it to the best of my ability. Thanks guys. http://codepen.io/anon/pen/XJJXpg?editors=110