title: Adding click to move with path finding to my current 2D Project in Unity
body: <p>I currently have a 2D scene with a orthographic camera and I can move my player with my WASD keys which is great.  I am wanting to add functionality of click to move as well but I am sort of lost on a approach.  I have read/watched some tutorials and everything seems to revolve around the Nav/Mesh system.</p>
  
  <p>My issue though is that my current scene for the ground and walls have Sprite Renderers and/or BoxColliders on them and I cannot have a Sprite Renderer and a Mesh Renderer on the same GameObject.  Here is a quick screenshot of what I have : </p>
  
  <p><a href="https://i.stack.imgur.com/uf6hG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uf6hG.png" alt="enter image description here"></a></p>
  
  <p>Now I understand that I can easily create a click to move with a </p>
  
  <pre><code>Camera.main.ScreenToWorldPoint(Input.mousePosition);
  </code></pre>
  
  <p>and move towards that position with </p>
  
  <pre><code>Vector3.MoveTowards(transform.position, target, speed * Time.deltaTime);
  </code></pre>
  
  <p>The challenge for me now and the knowledge that I am wanting is if I have something like in the screenshot how can I add some sort of path finding system if I was below the house and clicked above the house that my character would walk around the house to get there?</p>
  
  <p>Do I even need to edit my current sprites for the ground?  I had an idea that I would just create extra GameObjects add a Mesh Filter and Mesh Renderer to it with "None" for the Materials and place them like puzzle pieces around my scene which would represent the areas I would want my player to move.</p>
  
  <p>Is that approach I am thinking viable?  Is it too much?  Is there an easier way?</p>