float __stdcall IntersectionOverMouse(int obj)

Check the mouse pointer with this object in the world space on the screen. The hwnd message process of the DDDengine need be called correctly.
Parameters:
int obj:

Result:
float:
The distance of object from the camera.