player.get_crosshair_target

This function returns the object that the current player is aiming at, if that object is giving the player a red or green reticle. It only appears to work when called on host.

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