How to detect an actor in a vector?

I’m going to assume you mean in a TArray: You’re looking for the Contains member function.

So:

if (Array.Contains( actor ))
...
1 Like