UGameplayAbility::CanActivateAbility

CanActivateAbility Returns true if this ability can be activated right now. Has no side effects

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UGameplayAbility::CanActivateAbility()

UGameplayAbility_CharacterJump::CanActivateAbility()

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/GameplayAbility.h

Include

#include "Abilities/GameplayAbility.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/Abilities/GameplayAbility.cpp

Syntax

virtual bool CanActivateAbility
(
    const FGameplayAbilitySpecHandle Handle,
    const FGameplayAbilityActorInfo * ActorInfo,
    const FGameplayTagContainer * SourceTags,
    const FGameplayTagContainer * TargetTags,
    OUTFGameplayTagContainer * OptionalRelevantTags
) const

Remarks

CanActivateAbility

Returns true if this ability can be activated right now. Has no side effects