I just need you to do the "get tile coords" block... I haven't tested this, but I made it so you can (hopefully) make a path by holding down space and moving your mouse around to the tiles you want, then it will render the path you're making and all the paths you've made. (This can be removed, it's just to visualize it.) You can also get and delete paths.
I followed the coding standards :D