Log In  


I have looked in the docs and in the Picotron discord, I cannot find an answer to this... How does one find the current world-space coordinates of the mouse?



I'm not entirely sure what you mean by world-space coordinates. The mouse() function returns the cursor's x, y, and button bitfield. If the camera is placed somewhere different, you might want to add the camera position to the cursor position to get "world" coordinates.


Thanks!... it was so simple and that was it... I feel so dense...



[Please log in to post a comment]