Make object travel to random positions

Make object travel to random positions (with the pathfinding behavior).

Authors and contributors to this community extension: VictrisGames.


When the action is used, the object(s) will select a random nearby location and begin moving towards it (using the Pathfinding behavior).

If desired, choose a direction and how closely you want the object to follow it. This can be used to make objects chase (or run away from) the player, or to make objects cross the screen using a meandering path.

If you keep using the action, once the object reaches a destination, it will select a new random location and begin moving towards it.

If you want to modify the speed of the object, edit the Pathfinding behavior of the object.


This page is an auto-generated reference page about the Make object travel to random positions 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.