title: Press a in game Button to play a animation
body: <p>I recently thought about adding a InGame Button to my Game. It's not a GUI or UI Button, it's a Block, added to a Wall for example. </p>
  
  <p>Dummy Code:</p>
  
  <pre><code>OnTriggerEnter(c:Collider)  { 
      if(c.gameObject.tag =="Player") 
      {
         //Text = "E to interact!" 
  
        if(key.pressed("e")
        {
           //Connect the Button to a specific Block,      play a Animation
        } 
      }  
   }
  </code></pre>
  
  <p>So how do I connect a specific Block to the Button, and if I press e, Play the Animation just on the specific block? Please keep in mind that I'm new in Unity. 
  Thanks for helping out! </p>