title: How can I detect a mouse click using an Edge Collider 2D?
body: <p>Using the function</p>
  
  <pre><code>    void OnMouseDown() {
      // Do code
      }
  </code></pre>
  
  <p>I can check if my object's box collider is clicked. When I switch the collider to be an edge collider it no longer detects any mouse clicks.</p>
  
  <p>Is it impossible to use OnMouseDown() for Edge Colliders?</p>