Yeppers, and thanks for the response! However, each object is distinct and different in this case, and that function does not seem to be available unless a specific object is selected. So I've already used that function to determine which instance of Object B is closest to me, and which instance of Object C is closest, but now I must determine which of those is closer.
I'm trying to have 'enemy AI' automatically attack the player, as well as 'friendly AI' when they come into line of sight.
I believe I can pull it off with just the order of events, but that would seem to lead to a priority of selecting one over the other if both were in view. Like, I could just have it check for the player first, and then attack, and if there's no player, then check for the 'friendly AI' and attack that instead...but aside from being a practice/learning experience in the finer points of Construct, it's just not how I'd prefer the AI to react at the moment.
Another way I've toyed with is just making it random, in the sense where if it detects both in sight, assign some random number to both of the detected, nearest instances of those objects, and then select the one with the lower (or higher, whatever) number. I'm leaning towards this option, if in fact I simply cannot make it choose the closest target, but I want to believe that with someone's creative ingenuity, this can be (and has already been) done!
We must believe!!