Skip to content

Tween behavior

The Tween (from inbetween) behavior animates objects properties over time:

  • Position
  • Angle
  • Size
  • Opacity
  • Color
  • or any other values through variables

Note

easings.net is an interactive catalog of all easing functions (speed shapes) that can be used by the tween behavior.

Play tweens simultaneously

Tweens can be played simultaneously simply by adding actions next to each other.

Chain tweens

Tweens can be delayed to be played one after the other using the wait action.

The same result can be achieved using the tween finished playing condition. This method should be used when the object may not do the second tween under some conditions.

Loop tweens

Tweens can be looped by starting back the first tween at the end of a chain.

Some extensions also have built-in looping:

Tween 3D objects

The 3D tween extension has additional actions dedicated to 3D.

Examples

Note

See it in action! 🎮

Open these examples online.

Tween Test

Open example in GDevelop

Tween Animations

Open example in GDevelop

Pairs

Open example in GDevelop

Reference

All actions, conditions and expressions are listed in the tween behavior reference page.