local mouse = game.Players.LocalPlayer:GetMouse()
local RunService = game:GetService("RunService")
RunService.RenderStepped:Connect(function()
game.Workspace.Mousepart.Position = mouse.Hit.p
end)
How its possible so the part doenst get closer and closer to the camera?
Isaque232
(Isaque232)
#2
Hello! I believe what you’re trying to do is drag a part with the mouse correct?
I believe through Mouse.TargetFilter you’d be able to fix this issue.
I highly recommend checking out this tutorial here in devforum,
1 Like