Making variables array and compare

So, I just tried it in the function, messy. Better to do it before the function like this:

and then call the function.

A lot of engine functions are setup to work with actors. You don’t find any nodes called something like ‘GetAllNearbyCoordinates’. So you almost always start with actors or components and then you can easily find out their coordinates.

Once you have an array of vectors, that’s it. There’s no going back. So better to start with actors, because then you have everything else handy, including locations.