Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
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
How I can calculate how far away is an instance of another and return its value.
I have a player instance and 5instances type monster.
Calculate that instance is closer and return its ID.
Just use the distance expression, keeping track of the shortest distance.
Develop games in your browser. Powerful, performant & highly capable.
blackhornet Thank you very much! I'll see how I adapt your example to what I need!