Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/UMoverComponent
Description
Check Mover systems for a gameplay tag. Use the given state, as well as any loose tags on the MoverComponent.
| Name | HasGameplayTagInState |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoverComponent.h |
| Include Path | #include "MoverComponent.h" |
| Source | /Engine/Plugins/Experimental/Mover/Source/Mover/Private/MoverComponent.cpp |
UFUNCTION (BlueprintPure, Category=Mover, Meta=(Keywords="HasTag"))
bool HasGameplayTagInState
(
const FMoverSyncState & SyncState,
FGameplayTag TagToFind,
bool bExactMatch
) const
True if the TagToFind was found
Parameters
| Name | Remarks |
|---|---|
| TagToFind | Tag to check on the MoverComponent or state |
| bExactMatch | If true, the tag has to be exactly present, if false then TagToFind will include it's parent tags while matching |