Focus (Property)

(Redirected from Focus)
Focus
Type CFrame
Description Sets the position the Camera is pointing towards. If the CameraSubject is defined, it is set automatically to a CFrame at the position of the CameraSubject pointing towards the camera's CFrame.
Member of Camera


Example
The following example only works in a LocalScript
game.Workspace.CurrentCamera.Focus = CFrame.new(game.Workspace.Part.Position)

The above example will set the position the camera is pointing towards to the position of the Part in Workspace.


See Also