Created an sight sprite that comes from the player sprite and connects to the mouse. If this overlaps a solid from your TileMap it will shrink until it no longer is overlapping the solid. Instead of teleporting to your Mouse you teleport to the edge of the sight sprite, stopping you from going through walls at any MoveTo Speed.
This was more for fun than anything - I still went back to set position rather than MoveTo for teleporting at the end of my project - cause it makes sense. But I do like the little tracker I made.
If you are interested you can from the c3p file and/or video on itch.io:
win-streak.itch.io/teleport-code