StarterPlayer

StarterPlayer : Instance

Properties

CameraMaxZoomDistance

number

The CameraMaxZoomDistance property sets the maximum distance in studs that a player's default camera is allowed to zoom out. This number property represents or specifies the maximal distance for the player's default camera to zoom out within game environments.

Code Samples

local StarterPlayer = game:GetService("StarterPlayer")

print(StarterPlayer.CameraMaxZoomDistance)

CameraMinZoomDistance

number

The CameraMinZoomDistance property in the StarterPlayer class sets the minimum distance in studs that the player's default camera is allowed to zoom in. As a number property, it specifies the minimum zoom distance for preventing the camera from getting too close to objects. CameraMinZoomDistance represents the minimum allowed distance for zooming in and ensures that the camera cannot approach closer than this specified value.

Code Samples

local StarterPlayer = game:GetService("StarterPlayer")

print(StarterPlayer.CameraMinZoomDistance)

AllowCustomAnimations

number

Describes the current game's permission levels regarding custom avatar animations from the website

Code Samples

LoadCharacterAppearance

bool

Whether or not the appearance of a player's character should be loaded.

Code Samples

Methods

Events

Last updated