How to correctly get mouse position?

Via “line trace”

This is how I do it.

This is just how I did printstring, just in case.