if (Physics.Raycast (Vector3(transform.position.x-1.25,transform.position.y,transform.position.z), up, 2))
with this code, I am able to detect if an object is at a position, but I want to be able to communicate to that object with a function like SendMessage, however, I cannot find out how to obtain this objects ID, how might I do this?