How to inquiry the nearest actor?

RE #1:
Thank you. I searched this from the year 2022 and this image was enough to make what I needed.
.

RE #2:

UE4.27.2:
Is GetAllActorsOfClass with Tag - more performant than GetAllActorsOfClass?

I want to use it on checkpoint Actors. I’ll have about 5 of that exact Class in a level. And I only want to GetAll with a certain tag (which is activated when checkpoint reached).
So is GetAllActorsOfClass with Tag - performant for me in a giant level (1000 other Classes) but only 5 of the Checkpoint Actor Class? Ty
.
.
Edit: RE #3

Thank you. I ended up using this. (Unless someone tells me the first graph pic is more performant than the new Epic node.)

Before I searched for this thread, I tried to type in Get “nearest” > didnt find.

  1. I had to uncheck context specific, Then type in “Find Nearest.”
  2. Or add a GetAllActorsOfClass with Tag > drag off the Output Actors > type Find Nearest, and that worked to replace the old code:
1 Like