access gameobject via touch

how to access a gameobject via touch. it should display a text while touching!! please help me…

You need to perform a ray cast from the finger and test against a collider attached to the object. There is this script on the wiki that shows you how to do it - but be aware the script as it stands just detects a tap because is only operates during TouchPhase.began - you could easily modify it to check all of the valid phases for continual touch (TouchPhase.move and TouchPhase.stationary).