Closed ericnguyen23 closed 4 years ago
Try with duration (in seconds) and repeat -1:
<Tween
directionalRotation={'360_ccw'}
transformOrigin={'50% 50%'}
repeat={-1}
duration={1}
ease={'Linear.easeNone'}
>
Documentation: https://greensock.com/docs/TweenMax
How do I control the speed of Tween?
I'm rotating a wheel and not sure how to control the speed. Here's the code:
Additionally, how would I repeat the tween infinitely? Currently, I'm using repeat and passing 500.