Tweening

Animate object properties over time. This allows smooth transitions, animations or movement of objects to specified positions. Read more explanations about it.

Tween

Smoothly animate position, angle, scale and other properties of the object.

Behavior actions

Add object angle tween
Add a tween animation for the object angle.

Add object color tween
Add a tween animation for the object color. Format: “128;200;255” with values between 0 and 255 for red, green and blue

Add object height tween
Add a tween animation for the object height.

Add object opacity tween
Add a tween animation for the object opacity (Value between 0 and 255).

Add object position tween
Add a tween animation for the object position.

Add object position X tween
Add a tween animation for the object X position.

Add object position Y tween
Add a tween animation for the object Y position.

Add object scale tween
Add a tween animation for the object scale (Note: the scale can never be less than 0).

Add object X-scale tween
Add a tween animation for the object X-scale (Note: the scale can never be less than 0).

Add object Y-scale tween
Add a tween animation for the object Y-scale (Note: the scale can never be less than 0).

Add object variable tween
Add a tween animation for an object variable.

Add object width tween
Add a tween animation for the object width.

Add text size tween
Add a tween animation for the text object character size (Note: the size can never be less than 1).

Pause a tween
Pause the running tween animation.

Remove a tween
Remove the tween animation from the object.

Resume a tween
Resume the tween animation.

Stop a tween
Stop the running tween animation.

Behavior conditions

Tween exists
Check if the tween animation exists.

Tween finished playing
Check if the tween animation has finished playing.

Tween is playing
Check if the tween animation is currently playing.

Behavior expressions

Expression Description
Object.Tween::Progress(string) Progress of a tween (between 0.0 and 1.0)
string Tween Identifier

This page is an auto-generated reference page about the Tweening feature of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop features here.