FGameplayTag::RequestGameplayTag

Gets the [FGameplayTag](API\Runtime\GameplayTags\FGameplayTag) that corresponds to the TagName

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayTags

Header

/Engine/Source/Runtime/GameplayTags/Classes/GameplayTagContainer.h

Include

#include "GameplayTagContainer.h"

Source

/Engine/Source/Runtime/GameplayTags/Private/GameplayTagContainer.cpp

Syntax

static FGameplayTag RequestGameplayTag
(
    const FName & TagName,
    bool ErrorIfNotFound
)

Remarks

Gets the FGameplayTag that corresponds to the TagName

Returns

Will return the corresponding FGameplayTag or an empty one if not found.

Parameters

Parameter

Description

TagName

The Name of the tag to search for

ErrorIfNotfound

ensure() that tag exists.