Skip to main content

Avatar

info
  • This class is only available on LocalAvatarScripts and LocalScripts

The Avatar class provides information on a Player's current Avatar. It can provide information on the child Items, parameters, etc.

Methods

Method NameReturn TypeParametersDescription
GetAvatarObjectItemHumanBodyBonesReturns the Item of a specific Avatar bone
GetAvatarObjectByPathItemstringReturns a descendant of the Avatar by path
GetPlayerRootItemnoneReturns the Player's Root
IsAvatarItemboolItemReturns true if the Item is a descendant of the Avatar
GetAvatarParametersAvatarParameter[]noneReturns all Parameters on an Avatar
GetAvatarParameterAvatarParameterstringGets an Avatar's parameter by name
ScalevoidfloatScales an Avatar

Properties

Property NameTypeDescription
IsLocalAvatarboolReturns true if the current Avatar is owned by the LocalPlayer
OwnerIdstringReturns the PlayerId of the Avatar's owner