Place for touch and click command.

How do I set an object area to receive an action with a click or a touch command?

Explain in brief. please.
as i think, where you write scripts for your action with that you can Use

  Debug.Log("Your Message");

hope you need somethink like this.