Messing around with the scripting feature a bit, and one thing that I can't figure out is how to pick objects by for example a variable, or by position, or is within a certain radius of another object or anything else.
Does anyone have a hands on example on how to do that, that i can study further?
Preferably with some comments so i can understand what's going on, as I'm pretty new to javascript.