Touch event moving a gameObject

How do I determine if an Input.GetTouch(i) event touched my gameObject? Does the Input.GetTouch(i) act as a MouseDown() event or do I need to preform a raycast and see if the touch input hit my gameObject some other way?

I’ve never done that before, but I think you should get the touch position and raycast it.Like:

void Update() {
   Camera.main.ScreenPointToRay(Input.GetTouch(i).position);
 }