object.get_speed

This function returns an object's speed, apparently measured in feet per second. Race multiplies the value by 109 and then divides by 100 to convert it to kilometers per hour.

This function returns number. Calling this function without storing its return value in a variable is an error.

Example

global.number[0] = current_object.get_speed()

See also