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
Is it possible to select x from y objects depending on objects variable value.
For example:
There is 1000 objects. All of them have variable takeMe.
I'd like to select 50 of them and only those where takeMe="yes".
System:Pick by comparison
Develop games in your browser. Powerful, performant & highly capable.
But how to limit that "pick by comparision" to 50?
Use a system for loop, 1-50
For "whatever" 1 to 50 --->
-Pick object where object.takeMe ="yes" ---->
But wouldn't this select sometimes the same objects?