We got an object tweening from point A to point B, and we can learn a few things from it using the onUpdate function.
The program can be constantly storing it’s actual x/y position and compare it to the previous position, versus time elapsed.
I’ve seen several approaches but none seemed very impressive.
Also, perhaps there is an engine (or more) that can return the object’s current speed via the unUpdate function. Or not?
How would YOU retrieve the object’s current speed/velocity (pixels per second or millisecond) during a tween ?