title: How do I detect if a sprite is touching another sprite
body: <p>How do I determine if a sprite (Sprite1) if on top of (Sprite2)
  I need this to switch levels when you touch another sprite with your sprite.
  I tried:</p>
  
  <pre><code>void OnCollisionEnter2D(Collision2D other)
  {
      //code to run
  }
  </code></pre>
  
  <p>But this made it so that everything it touched ran the code. :(</p>