Edit in JSFiddle
Result
JavaScript
function lancer() { TweenMax.to('rect', 2, { rotation: 90, ease: Power2. easeInOut }) }