animations-tweens

Animate Decentraland objects with Animator, Tween, and TweenSequence APIs.

3|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/decentraland/sdk-skills --skill animations-tweens-decentraland
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: animations-tweens
Source: https://github.com/decentraland/sdk-skills/tree/main/animations-tweens
Command: npx skills add https://github.com/decentraland/sdk-skills --skill animations-tweens-decentraland

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Animating objects in Decentraland scenes using Animator and Tweens to create smooth motion for GLTF models and texture effects. It enables moving, rotating, sliding, and looping animations, including procedural motion and chained sequences. Do NOT use for audio/video playback (see audio-video), player emotes (see player-avatar), or physics-driven motion (see player-physics).

Core Features & Use Cases

  • Animator: play GLTF animations baked into models with clip blending and playSingleAnimation
  • Tween: move/rotate/scale with support for continuous variants and texture UV scrolling
  • TweenSequence: chain multiple tweens with loops and yoyo
  • tweenSystem.tweenCompleted: detect when a tween finishes for reactive logic
  • Texture UV scrolling: animate materials by offsetting UVs

Quick Start

Create a simple entity with a GLTF model and apply a Tween to move it, then optionally chain with a TweenSequence for looping motion.

Frequently Asked Questions about animations-tweens

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I animate objects in a Decentraland scene?

Animate objects in Decentraland scenes by applying the Animator component to play baked GLTF model clips and using Tween APIs for procedural moving, rotating, and scaling motions. You can chain these motions together using TweenSequence for looping sequences.

What is the best way to chain multiple animations in Decentraland?

The best way to chain multiple animations in Decentraland is by using the TweenSequence API. It allows you to link multiple Tweens together, supporting both loops and yoyo effects to create continuous, back-and-forth motion sequences for your scene objects.

Can I animate GLTF model clips in Decentraland?

Yes, you can animate GLTF model clips in Decentraland using the Animator component. It supports playing baked animations with clip blending and playSingleAnimation for specific procedural motions.

How do I detect when a tween finishes in Decentraland?

You detect when a tween finishes in Decentraland by checking the tweenSystem.tweenCompleted event. This allows you to trigger reactive logic immediately after a tween completes its motion sequence.

How do I scroll textures in Decentraland?

Scroll textures in Decentraland by using the Tween API to animate materials through continuous UV offsetting. This creates a scrolling effect across the material surface without altering the underlying geometry.

What should I not use Decentraland tweens for?

Do not use Decentraland tweens for audio/video playback, player emotes, or physics-driven motion. These scenarios require dedicated systems for audio-video, player-avatar, and player-physics interactions rather than procedural animation APIs.