How can i made a tracking system for turrets with gameplaytags?

Hi, do you want to use tags or GameplayTags? Cause in your question header you say GameplayTags but GetAllActorsWithTag looks for tag, not GameplayTag and GameplayTags are constructed via FGameplayTag::RequestGameplayTag("something"), AFAIK TEXT("something") will not work.