get clicked tile position

Hello everybody

I would like to create windows build that can use MTE for tile engine. Im currently at the begining of work :) 

and discovering MTE. 

Problem is that on windows I would like to have “click and go”  mechanism - for now very simple. 

So my questions are:

  1. does anybody have been using pathfinding algoritms with MTE ??

  2. is there any sample code with something like “click and go” mechanism ??

Thank you 
All the best

Przemek