Function that returns what object hits

Has this feature been suggested before?
No

Is your feature request related to a problem? Please describe.
No

Describe the solution you’d like
I would like to be a function that returns what a object hits.
Example:

Two objects collide, myObject and otherObject
what_it_is_hitting = myObject.hit()
what_it_is_hitting returns otherObject.

2 Likes