int UI_get_distance(object obj1, object obj2) int obj1->get_distance(obj2)
Gets the distance between two objects.
obj1 | One of the two objects. |
obj2 | The other object. |
The distance between the two objects, or zero if one or both of the parameters is not a valid object.