Skip to content

Magnetic Effect

Attract an object to another object, with customisable speed and distance.

Authors and contributors to this community extension: Entropy.

Warning

This is an extension made by a community member — but not reviewed by the GDevelop extension team. As such, we can't guarantee it meets all the quality standards of official extensions. In case of doubt, contact the author to know more about what the extension does or inspect its content before using it.


With this behavior, you can attract an object to another object, such as coins attracted to a player.

Tip

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

Magnetic Effect

Attraction to another object, with customisable speed and distance.

Behavior actions

Attraction to a target object
Attraction to a target object.

Stop attraction
Stop the attraction to the target object.

Behavior conditions

Is attracted to the target object
Check if the object is attracted to the target object.

No expressions for this behavior.


This page is an auto-generated reference page about the Magnetic Effect 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.