# How to reverse a tween using TweenLite?

**URL:** https://forum.kirupa.com/t/how-to-reverse-a-tween-using-tweenlite/275779
**Category:** flash
**Created:** [November 18, 2008, 5:00pm UTC](https://forum.kirupa.com/t/how-to-reverse-a-tween-using-tweenlite/275779 "2008-11-18T17:00:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![icebot07](https://avatars.discourse-cdn.com/v4/letter/i/e99b99/32.png) [@icebot07](https://forum.kirupa.com/u/icebot07)
#### Post date: [November 18, 2008, 5:00pm UTC](https://forum.kirupa.com/t/how-to-reverse-a-tween-using-tweenlite/275779/1 "2008-11-18T17:00:39Z")

</div>

Hey,

i’ve been trying to reverse a tween using tweenlite (i’m pretty new to code) but i’m not sure how to structure the code.

does it go:

tweento.TweenLite.to(mc, 1, {x:100, y:200});  
then this line:

myTween.addEventListener(TweenEvent.COMPLETE, myFunction);

function myFunction(TweenEvent) {  
myTween.reverse(adjustDuration:Boolean, forcePlay:Boolean):void  
}

or something like this?

any ideas?
