# Use Var in New Tween function?

**URL:** https://forum.kirupa.com/t/use-var-in-new-tween-function/298712
**Category:** Uncategorized
**Created:** [October 23, 2009, 1:44pm UTC](https://forum.kirupa.com/t/use-var-in-new-tween-function/298712 "2009-10-23T13:44:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Nimaro](https://avatars.discourse-cdn.com/v4/letter/n/7bcc69/32.png) [@Nimaro](https://forum.kirupa.com/u/Nimaro)
#### Post date: [October 23, 2009, 1:44pm UTC](https://forum.kirupa.com/t/use-var-in-new-tween-function/298712/1 "2009-10-23T13:44:50Z")

</div>

Hy everyone,

I have a var that is always changing in my program… and i wana use that in my tween… but it seens to not be working … i show what i mean ^^

* * *

## var botao:String; new Tween(‘botao’, “y”, Strong.easeIn, servicos.y, servicos.y - 200, tween\_duration, true);

this is wrong… u know a way to use the var in the tween?
