/// <summary>
 ///  the function that plays when the player pulls the trigger.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void trigger(object sender, ControllerInteractionEventArgs e)
 {
     if (hitobj && hitobj.gameObject != null)
     {
         audio.Play();
         hitobj.sendmessage();
     }
 }