Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/UAbilitySystemComponent
Description
Returns the current count of the given gameplay tag. This includes both loose tags, and tags granted by gameplay effects and abilities. This function can be called on the client, but it may not display the most current count on the server.
| Name | GetGameplayTagCount |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/AbilitySystemComponent.h |
| Include Path | #include "AbilitySystemComponent.h" |
| Source | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/AbilitySystemComponent.cpp |
UFUNCTION (BlueprintPure, Category="Gameplay Tags")
int32 GetGameplayTagCount
(
FGameplayTag GameplayTag
) const
Parameters
| Name | Remarks |
|---|---|
| GameplayTag | The gameplay tag to query |