I don't know if this is possible but if it is then please help me. Thanks! I don't have any code to display because I have no idea how this would be done. What I want to do is create a SurfaceGui that is on a part and follows the mouse. Then when the player clicks a convert the UDim2 value or the position or the gui to a vector3 value to place an object.

2 comments

0

A Udim2 is used for guis 2D and a Vector3 is for 3D space. There are some methods in the camera to find points from your screen to the game. https://scriptinghelpers.org/blog/screen-space-conversion-and-back-again. You need to explain your question in more detail before I can help more.

0

I added more details