What problem does it solve?
The live player in a Decentraland scene. Read player position (Transform on engine.PlayerEntity), player profile (getPlayer, isGuest), trigger emotes (triggerEmote, triggerSceneEmote), read equipped wearables (AvatarEquippedData.onChange), attach objects to avatars (AvatarAttach with anchor points), hide avatars or disable passports in zones (AvatarModifierArea), adjust locomotion speed (AvatarLocomotionSettings), teleport the player (movePlayerTo), and listen for scene entry/exit (onEnterScene/onLeaveScene). Use when the user wants player position, player profile, emotes, wearables, attaching items to players, or avatar zones. Do NOT use for NPC characters (see npcs), wallet/blockchain checks (see nft-blockchain), freezing player movement (see advanced-input for InputModifier), or camera mode (see camera-control).
Core Features & Use Cases
- Read and monitor the live player position and transform data.
- Read and react to player profile data (name, wallet, isGuest).
- Attach 3D objects to a player's avatar at defined anchor points.
- Trigger built-in or custom emotes on the local or remote avatars.
- Modify avatar appearance and attachment behavior within zone-based rules.
- Teleport or move the player using safe, scene-bounded methods.
- React to scene entry/exit events for onboarding or cleanup.
Quick Start
Install the player-avatar skill and use its APIs to read and manipulate the local player's avatar in your scene.