Skip to content

Values of multiple objects

Values of picked object instances (including position, size, force and angle).

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


Provides values based on picked object instances.
Useful for camera tracking, flocking behaviors, and more.

Included expressions

Center points:

  • X center point (absolute)
  • Y center point (absolute)
  • X center point (average)
  • Y center point (average)

Position expressions (based on AABB of objects):

  • Minimum X position
  • Minimum Y position
  • Maximum X position
  • Maximum Y position

Force expressions:

  • Average horizontal force (X)
  • Average vertical force (Y)

Angle expressions:

  • Average angle of rotation

Size expressions:

  • Width (min/max/average)
  • Height (min/max/average)

Read more...


Tip

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

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