The behavior property translated to current speed. If the current speed is zero then 0 times anything will give you a force of zero and the object will never move and the while loop will never end.
It might be easier to use a tween. You can use tweens in behaviors by adding them as a parameter. A required parameter for the behavior and a parameter for any function that uses it.