Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I have a bunch of objects in the game that have different health values assigned to variables. Is there a way I can grab all the health values from these different objects and combine them in a global variable?
Thanks for the help.
Develop games in your browser. Powerful, performant & highly capable.
For each Object -> Add Object.HP to var
If you need an average value, you can divide var by Object.count after the loop is finished.