Skip to content

Sway

Sway objects like grass in the wind.

Authors and contributors to this community extension: Bubble.


This extension makes objects sway at different times.

It can be used to:

  • Simulate grass and plant movement swaying in the wind
  • Animate seaweed in an underwater environment
  • Give flames a flickering look

Set Center and Origin points to the center base of the object for best results.

Check out this demo to see what this extension can do.

Tip

Learn how to install new extensions by following a step-by-step guide.

Sway

Sway multiple instances of an object at different times - useful for random grass swaying.

Behavior actions

Set sway angle left and right
Set sway angle left and right.

Set sway angle time range
Set sway angle time range.

Set sway Y scale mininum and maximum
Set sway Y scale mininum and maximum.

Set sway Y scale time range
Set Y scale time range.

No expressions for this behavior.


This page is an auto-generated reference page about the Sway extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.