# A long list of parameters

**URL:** <https://forum.kirupa.com/t/a-long-list-of-parameters/298287>\
**Category:** Uncategorized\
**Created:** [October 15, 2009, 11:18pm UTC](https://forum.kirupa.com/t/a-long-list-of-parameters/298287 "2009-10-15T23:18:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![grandpaw\_broon](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/grandpaw_broon/32/3985_2.png) [@grandpaw\_broon](https://forum.kirupa.com/u/grandpaw_broon)\
**Post date:** [October 15, 2009, 11:18pm UTC](https://forum.kirupa.com/t/a-long-list-of-parameters/298287/1 "2009-10-15T23:18:52Z")

</div>

Hey all,

If you consider the Tweener library you may recoginise this form:

```auto
Tweener.addTween(displayObject, {x:0, y:0, time:0})

```

This is pretty cool because it seems the alternative is:

```auto
function.doMethod(param1, param2, param3 = null, param4 = null, param5 = null.....)

```

You get the idea, what if you need param5 but not 3 or 4… It gets boring.

Can anyone shed some light on this “Tweener” style instantiation? {} along with most shorthand is just a garbled mess to me.

Thanks.
