# Animating variables with easing in my own function

**URL:** <https://forum.kirupa.com/t/animating-variables-with-easing-in-my-own-function/236280>\
**Category:** Uncategorized\
**Created:** [August 19, 2007, 11:48am UTC](https://forum.kirupa.com/t/animating-variables-with-easing-in-my-own-function/236280 "2007-08-19T11:48:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![verbruggher](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/verbruggher/32/3329_2.png) [@verbruggher](https://forum.kirupa.com/u/verbruggher)\
**Post date:** [August 19, 2007, 11:48am UTC](https://forum.kirupa.com/t/animating-variables-with-easing-in-my-own-function/236280/1 "2007-08-19T11:48:00Z")

</div>

[FONT=Arial Narrow]I have a function like this img.setTransform(0,0,w,0,w,h,0,h);

but want the variables be animated with easing…how I can do this? Not some mvc properties but variables in my own function.  
[/FONT]
