ok, this is how I would do it: make a property of the window that holds the value for yspeed. Then, set an equation for yspeed (example: yspeed = 30 - yposition/5) Then, it's simply a matter of stopping at end conditions (example: yspeed == 0 and yposition == 150) An alternate method would be to define acceleration, and then add it to the speed each time.