Converting gui.ScreenToVector() to a world vector

I want to know how to convert the ScreenToVector() into a world vector. I’m not sure if this is possible but if it thanks for the help.

Credits to him.

Awesome,thanks for this.


I couldn’t use this because I was using a modified view, but I guess this works.

Thanks for the replies i got my thing working.