how to see if you click the mouse in unity code example
Example 1: how to see if they are aholding down a key unity
input.GetKey("Key")
Example 2: how to see a tag of what you hit with raycast
if (Physics.Raycast (transform.position, fwd, hit, Reach) && hit.transform.tag == "TagName") {