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

Is there a way to get a player's camera?

Asked by
jtefurd 50
9 years ago

Something along the lines of game.Players.LocalPlayer:GetPlayerCamera() or something to that sort? I need to get the camera so I can change the field of view. My appreciation in advance! :)

1 answer

Log in to vote
2
Answered by
Merely 2122 Moderation Voter Community Moderator
9 years ago

In a localscript,

local camera = game.Workspace.CurrentCamera

(CurrentCamera is actually a property of Workspace.)

0
Thanks a bunch! :D jtefurd 50 — 9y
0
If this answered the question, would you please mark it as the answer? Merely 2122 — 9y
0
@Merely , Sorry I didn't know I could do that, thanks for telling me however. jtefurd 50 — 9y
Ad

Answer this question