PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

CanLoadCharacterAppearance

Player

bool

The CanLoadCharacterAppearance Player property determines whether the character’s appearance will be loaded when the player spawns. The default value of this property is set by StarterPlayer/LoadPlayerAppearance.

If true, the character will load the appearance of the player corresponding to the player’s Player/CharacterAppearanceId.

If false, the player will spawn with a default appearance - a grey character model without any hats, shirts, pants, etc.

Attempting to set the property after the character has spawned will not change the character, you must call Player/LoadCharacter to load the new appearance.


Code Samples


Disabling a Player's Appearance

This example demonstrates how to disable loading a player’s character appearance. Instead, the player loads as a grey model without any hats, shirts, pants, etc.

This is useful for games using custom clothing and accessories.

Note: If the character has already spawned, this change will not take affect until the player respawns or the ``Player/LoadCharacter` function is called.