thingvel=GetThingVel(thing);
GetThingVel(thing);
The length of the velocity returned by GetThingVel() is the speed that the thing is moving at.