I honestly feel so stupid asking this, I know the usual formula which is v = d/t.
However I do not have or know how to calculate the time.
I have an object that moves towards the mouse cursor and uses this formula to smooth its way across the screen:
getBounds().x += (pos.x - getBounds().x) * 0.05f;
I can get the distance needed to travel by doing:
d = Math.abs(getBounds().x - pos.x)
How would I get the speed of the object with this information?