Values of multiple objects
Values of picked object instances (including position, size, force and angle).
Authors and contributors to this community extension: VictrisGames, Bouh, Uiles.
Provides values based on picked object instances.
Useful for camera tracking, flocking behaviors, and more.
An example shows how to use the extension (open the Itch.io page).
Tip
Learn how to install new extensions by following a step-by-step guide.
Expressions
Expression | Description | |
---|---|---|
ValuesOfMultipleObjects::AbsoluteCenterOfObjectsX() |
X center point (absolute) of picked object instances. | |
ValuesOfMultipleObjects::AbsoluteCenterOfObjectsY() |
Y center point (absolute) of picked object instances. | |
ValuesOfMultipleObjects::AverageAngle() |
Average angle of rotation of picked object instances. | |
ValuesOfMultipleObjects::AverageCenterOfObjectsX() |
X center point (average) of picked object instances. | |
ValuesOfMultipleObjects::AverageCenterOfObjectsY() |
Y center point (average) of picked object instances. | |
ValuesOfMultipleObjects::AverageForceX() |
Average horizontal force (X) of picked object instances. | |
ValuesOfMultipleObjects::AverageForceY() |
Average vertical force (Y) of picked object instances. | |
ValuesOfMultipleObjects::AverageHeight() |
Average height of picked object instances. | |
ValuesOfMultipleObjects::AverageWidth() |
Average width of picked object instances. | |
ValuesOfMultipleObjects::AverageZOrder() |
Average Z order of picked object instances. | |
ValuesOfMultipleObjects::MaxHeight() |
Max object height of picked object instances. | |
ValuesOfMultipleObjects::MaxWidth() |
Max object width of picked object instances. | |
ValuesOfMultipleObjects::MaxX() |
Maximum X position of picked object instances (using AABB of objects). | |
ValuesOfMultipleObjects::MaxY() |
Maximum Y position of picked object instances (using AABB of objects). | |
ValuesOfMultipleObjects::MaxZOrder() |
Maximum Z order of picked object instances. | |
ValuesOfMultipleObjects::MinHeight() |
Min object height of picked object instances. | |
ValuesOfMultipleObjects::MinWidth() |
Min object width of picked object instances. | |
ValuesOfMultipleObjects::MinX() |
Minimum X position of picked object instances (using AABB of objects). | |
ValuesOfMultipleObjects::MinY() |
Minimum Y position of picked object instances (using AABB of objects). | |
ValuesOfMultipleObjects::MinZOrder() |
Minimum Z order of picked object instances. |
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.