This function increments one value towards a target at a steady rate.
Parameter | Description |
---|---|
start | beginning value |
stop | destination value |
amount | maximum distance to move |
Returns the incremented value. If the difference between the values is less than amount then stop will be returned.