animations-tweens

Animate Decentraland scene entities using Animator clips, Tweens, and TweenSequence chains.

1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/stom66/dcl-bowling --skill animations-tweens-stom66
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: animations-tweens
Source: https://github.com/stom66/dcl-bowling/tree/main/agent/skills/animations-tweens
Command: npx skills add https://github.com/stom66/dcl-bowling --skill animations-tweens-stom66

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Choosing and correctly implementing animation in Decentraland SDK7 scenes is error-prone: GLTF clips silently fail when not registered, tweens teleport entities when start values are wrong, and per-frame clip switching causes serialization overhead. This Skill provides verified patterns and pitfalls for Animator, Tween, and TweenSequence so animations work the first time. ## Core Features & Use Cases - GLTF Animation Control: Play, blend, and stop skeletal, object, and shape-key animations with Animator, including fixes for clip registration and first-frame rest poses. - Procedural Motion with Tweens: Move, rotate, scale, and scroll textures with finite or continuous tweens, easing functions, and mid-travel retargeting. - Chained Sequences: Build multi-step choreography and looping behaviors with TweenSequence, including the empty-sequence yoyo pattern. - Use Case: A creator wants a door to stay closed on spawn, open on click, and a platform to bob forever — the Skill supplies the exact speed-0 hold trick, playSingleAnimation call, and TL_YOYO empty-sequence pattern. ## Quick Start Ask the AI to animate a GLB model's walk clip and make a platform move back and forth between two points in your Decentraland scene.

Frequently Asked Questions about animations-tweens

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

FAQPage Schema
How do I play a GLTF animation in a Decentraland SDK7 scene?▼

Create an Animator component with a states array listing each clip, then call Animator.playSingleAnimation(entity, clipName). The clip must already exist in states or the call silently returns false when the Animator was authored in code.

Animator vs Tween in Decentraland: which should I use?▼

Use Animator when the animation is baked into the .glb model, such as character walks or door opens. Use Tween for procedural move, rotate, or scale between two values, and a custom engine.addSystem for per-frame control.

Why does playSingleAnimation do nothing in Decentraland?▼

playSingleAnimation returns false when the clip name is not present in the entity's Animator.states array, with no console warning. Add the clip to states at Animator.create time or lazily push missing states before calling it.

Why does my entity teleport when a Move tween starts?▼

An omitted start in Tween.Mode.Move is treated as (0,0,0), so the entity teleports to the scene origin first. Always pass Transform.get(entity).position as start to move from the live current position, even mid-flight.

How do I detect when a non-looping animation finishes in Decentraland?▼

Poll the read-only Animator.get() each frame and edge-detect the state's playing flag flipping from true to false. Avoid getClip or getMutable in per-frame reads since they mark the component dirty and cause serialization overhead.

How do I make a Decentraland tween loop back and forth forever?▼

Attach TweenSequence.create with an empty sequence array and loop set to TweenLoop.TL_YOYO on an entity that already has a plain Tween. This loops the base tween itself; use TL_RESTART for one-directional repeats like scrolling textures.