To tag objects in a game, Unreal Engine introduced the GameplayTags system. GameplayTags is a string-based tagging system used to classify and identify objects within a game.
It uses strings separated by . to mark parent-child structures. With a tag like Character.Enemy.Zombie, you can conveniently mark an object as three types at once: Character, the Enemy under Character, and the Zombie under Enemy. The FGameplayTagContainer container enables fast tag queries and operations across the tree structure.