I use a tag “target” for the pawn and actors that I want as a target ,and then instead of get all actor of class , I use get all actors with tag “target”
I use a tag “target” for the pawn and actors that I want as a target ,and then instead of get all actor of class , I use get all actors with tag “target”