distance_to_object(obj)
From YoYoGames Wiki
Description
This function returns the distance between the current object and the object specified in pixels.
Returns
- (real): distance from current object to specified object in pixels
Explanation
The function is used to get the distance from the current object to the object specified. While useful, it is just a modified version of distance_to_point(). If multiple instances with the same object id exist, the function will choose the object whose id is the least.

