Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why isnt my part following my mouse?

I was making a VR game and testing it on pc.

I wanted the part to follow my mouse but it ended up disappearing.

Help?

local player = game.Players.LocalPlayer
local mouse = player:GetMouse()

mouse.Move:connect(function()
	workspace.Marker.CFrame = CFrame.new(mouse.Target.CFrame)
end)

2 comments

0

.Position = Mouse.Hit.Position*

0

@Ziffixture Or, he could just do workspace.Marker.CFrame = Mouse.Hit

1 answer

✓ Accepted answer

Do Marker.CFrame = mouse.Hit instead, CFrame.new() does't take in a CFrame

This discussion is preserved as it was. New answers, comments, and votes are closed.