# I wanna help ! there is a problem with tween

**URL:** https://phaser.discourse.group/t/i-wanna-help-there-is-a-problem-with-tween/9528
**Category:** Phaser 3
**Created:** [May 12, 2021, 7:50am UTC](https://phaser.discourse.group/t/i-wanna-help-there-is-a-problem-with-tween/9528 "2021-05-12T07:50:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rysefgf](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@rysefgf](https://phaser.discourse.group/u/rysefgf)
#### Post date: [May 12, 2021, 7:50am UTC](https://phaser.discourse.group/t/i-wanna-help-there-is-a-problem-with-tween/9528/1 "2021-05-12T07:50:41Z")

</div>

there is the code:

```javascript
this.tw1 = this.tweens.create({

            targets: this.plane,

            props: {

                rotation: {

                    getStart:()=>{

                        return that.plane.rotation;

                    },

                    getEnd:function () {

                        return -Math.PI;

                    }

                }

            }

        }, this);

```

why this tween always start from zero , not the object’s current rotation?  
thanks for your advice

---

<div class="post-metadata">

### Author: ![rich](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/rich/32/4_2.png) [@rich](https://phaser.discourse.group/u/rich)
#### Post date: [May 12, 2021, 10:28am UTC](https://phaser.discourse.group/t/i-wanna-help-there-is-a-problem-with-tween/9528/2 "2021-05-12T10:28:52Z")

</div>

Because I doubt `that.plane` equals anything, so it’s defaulting to zero. You don’t need to use props, or getStart or anything. You can just do:

```javascript
this.tweens.create({
  targets: this.plane,
  rotation: -Math.PI
});

```

Then create this tween as needed and it will always start from whatever `rotation` currently is and tween it towards -PI.

---

<div class="post-metadata">

### Author: ![rysefgf](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@rysefgf](https://phaser.discourse.group/u/rysefgf)
#### Post date: [May 12, 2021, 8:06pm UTC](https://phaser.discourse.group/t/i-wanna-help-there-is-a-problem-with-tween/9528/4 "2021-05-12T20:06:46Z")

</div>

Thank you! I try your advice, but it dosen’t work. I think I had did something wrong, I will try to find it out.thank you very much.

---

<div class="post-metadata">

### Author: ![rysefgf](https://avatars.discourse-cdn.com/v4/letter/r/58f4c7/32.png) [@rysefgf](https://phaser.discourse.group/u/rysefgf)
#### Post date: [May 12, 2021, 8:32pm UTC](https://phaser.discourse.group/t/i-wanna-help-there-is-a-problem-with-tween/9528/5 "2021-05-12T20:32:16Z")

</div>

I’v konwn why about this problem, it’s all my fault, i misunderstand the method " play() ", documention is very clearly, " play() method will start the Tween playing again from the start " .
