How to use EQS testing pawn with Queries that use player as context?

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”