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

How do you get a Part to point or face your mouse?

Asked by
ojinga -14
6 years ago

local Part = script.Parent

Part.CFrame = CFrame.new(Mouse.target.p)

1 answer

Log in to vote
0
Answered by 6 years ago
local Part = script.Parent
Part.CFrame = CFrame.new(Part.Position,Mouse.Target.p)
Ad

Answer this question