# Passing a variable to fuseKit

**URL:** <https://forum.kirupa.com/t/passing-a-variable-to-fusekit/233414>\
**Category:** Uncategorized\
**Created:** [July 23, 2007, 8:04pm UTC](https://forum.kirupa.com/t/passing-a-variable-to-fusekit/233414 "2007-07-23T20:04:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![newbie\_geek](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@newbie\_geek](https://forum.kirupa.com/u/newbie_geek)\
**Post date:** [July 23, 2007, 8:04pm UTC](https://forum.kirupa.com/t/passing-a-variable-to-fusekit/233414/1 "2007-07-23T20:04:32Z")

</div>

Hey all,

i have recently started using fusekit, and i love it. So glad i came across it.

When using the tween function you are supposed to put values in quotation marks to make them relative to current values. So:

```auto
thingy.slideTo("300", "0", 1, "easeInOutQuad");

```

to move thingy 300 to the right, as opposed to

```auto
thingy.slideTo(300, 0, 1, "easeInOutQuad");

```

which moves thingy to the 300 x coordinate on the stage.

Thats all fine and good.

But i want to insert a variable “Xtarget” into the parameters in such a way that it is processed as a value in quotation marks so that it is treated as a relative value, and not an absolute one.

How can this be done?

Thanks
