Follow multiple objects with camera

Change the zoom and position of the camera to keep all instances of an object (or object group) on the screen.

Authors and contributors to this community extension: VictrisGames, MrMen.

This action is meant to be run on every frame (i.e: usually you would use it without conditions, or just conditions picking the appropriate objects to track).

  • Use an object group to track multiple objects.
  • Only run on one layer at a time. If multiple layers need to move the same way, create events that copy CameraX, CameraY, and CameraZoom values.
  • This can also be used on a single object instance to move the camera smoothly.

This page is an auto-generated reference page about the Follow multiple objects with camera 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.