Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would i move a GUI object inside of a SurfaceGUI to the mouse?

Asked by 3 years ago

I am making a spray paint system for a game. You click somewhere and it puts a SurfaceGUI object on it. I have it all set up, however I do not now how to actually move a GUI object to the mouse position relative to the SurfaceGUI object.

I have tried an easier way of this by just making a thin part with a decal on it, however it hangs over objects and with SurfaceGUI it clips the image to the part.

If you have any questions ask. I've been trying to solve this for days and nothing i try really works :(

0
Change the text via a local script so it only appears for the player zomspi 541 — 3y
0
I do, except i dont know how to get the mouse's position. It does move to the positions i give it except the positions i give it are false. Im asking how to get the position of the mouse relative to the surface gui. fury_6154 0 — 3y

Answer this question